Multiple Windows 10 images

Antworten
dorian.borovina
Beiträge: 36
Registriert: 24 Aug 2017, 12:32

Multiple Windows 10 images

Beitrag von dorian.borovina »

Hi all,

I've got Windows 10 1803 which is being installed by win10-x64.
Everything is running smoothly, and the Windows are installed successfully.

Now, I would like to create another one, but with LTSB image.

How can I do it?

New netboot product? Any tips, hints?

Add the new "image" or install files to the existing product?

Thanks!
Best regards,
Dorian Borovina
bourhis
Beiträge: 112
Registriert: 07 Nov 2012, 15:57

Re: Multiple Windows 10 images

Beitrag von bourhis »

Hi,

you can download the original paquet of "win10-x64" from : https://download.uib.de/opsi4.1/stable/ ... 0.0-5.opsi
then you extract it and you rename the "id" in "OPSI/control" file, and you create the new "netboot" product :

Code: Alles auswählen

cd /var/lib/opsi/workbench
wget https://download.uib.de/opsi4.1/stable/packages/windows/netboot/win10-x64_4.1.0.0-5.opsi
opsi-package-manager -x win10-x64_4.1.0.0-5.opsi
cd win10-x64
vi OPSI/control
Modify this lines (for example) :

Code: Alles auswählen

id: win10-x64-1803
name: Windows 10 x64 18.03
and create the paquet :

Code: Alles auswählen

opsi-set-rights .
opsi-makepackage
opsi-package-manager -i *.opsi
Now you have to copy the file custom/unattend.xml from the "original" netboot product (and modify it if you need) :

Code: Alles auswählen

cp /var/lib/opsi/depot/win10-x64/custom/unattend.xml /var/lib/opsi/depot/win10-x64-1803/custom/
and you copy the sources files of your LSTB distribution...

Best regards.
dorian.borovina
Beiträge: 36
Registriert: 24 Aug 2017, 12:32

Re: Multiple Windows 10 images

Beitrag von dorian.borovina »

Whoa! Thank you for such a thorough, step-by-step solution!
I will try it out, and then I will let you know what happened.
Best regards,
Dorian Borovina
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: Multiple Windows 10 images

Beitrag von wolfbardo »

have a look at the opsi-manual

https://download.uib.de/opsi4.1/documen ... -v4.1.html

Code: Alles auswählen

It is possible to install a package with a different product id. This is helpful if a custom Windows netboot product was derived from an existing package and that package was updated in the meantime.

opsi-package-manager --install win7-x64_1.2.3.opsi --new-product-id win7-x64-custom
regards,
Bardo Wolf


OPSICONF 2024
https://opsi.org/en/opsiconf/

opsi-Basisworkshops:

22. - 25. 04. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
Antworten