Seite 1 von 1

sysprep and opsi

Verfasst: 06 Feb 2016, 22:22
von gds
Hi, I'm fairly new to Opsi. I am very impressed at how it is functioning for me so far. I have a question about a captured Sysprep image of a Windows 7 x64 build. Where should I place my .wim file on my Opsi-Depot server so I can apply it using Opsi. Is this possible. Thank you in advance.

Re: sysprep and opsi

Verfasst: 08 Feb 2016, 17:56
von n.wenselowski
Hi,

did you capture it using opsi tools?

Otherwise you probably want to replace the install.wim from the corresponding windows product. If you still want to roll out with that product you probably want to re-create the product with a new ID using opsi-package-manager.


-Niko

Re: sysprep and opsi

Verfasst: 13 Feb 2016, 18:10
von gds
Thank you for your response, sorry for the delay in my response.
No I did not capture with Opsi tools, Although I am going to try recreating with a new id with package manager as you suggested and see where that gets me. Thank you again.
Gary

Re: sysprep and opsi

Verfasst: 13 Feb 2016, 23:32
von SisterOfMercy
You know you don't need a captured image, don't you? I was grateful to not have to put up with al that sysprep shite. :D

Re: sysprep and opsi

Verfasst: 22 Feb 2016, 13:54
von larsg
depends what you want to do.

i imply you want to use win7-x64

if you want this to be your one and only windows 7 base image, just replace the install.wim under

Code: Alles auswählen

[server-share]/opsi_depot_rw/win7-x64/installfiles
with your own.

if you want this to be a seperate windows 7 image, run

Code: Alles auswählen

cd /home/opsiproducts
opsi-packagemanager -x /var/lib/opsi/repository/win7-x64_[currentversion/package].opsi --new-package-id
it will ask for a new package name. f.e. win7-x64-[customname]

Code: Alles auswählen

cd win7-x64-[customname]
opsi-makeproductfile -h -m -z
it will ask for a new version and package number - if you don't want to change those, also use -q it will just take the values in the control file and use those, an existing opsi-file will then be overwritten. as always, as always, if want to see what's happening, use -vvv - the more the merrier.

Code: Alles auswählen

opsi-packagemanager -i win7-x64-[customname]_[version/package].opsi
supply the required files to your new package on the depot

Code: Alles auswählen

cd /var/lib/opsi/depot/win7-x64
cp ./custom ../win7-x64-[customname]/ -R
cp ./installfiles ../win7-x64-[customname]/ -R
cp ./winpe ../win7-x64-[customname]/ -R
in case you also want to take over the already integrated drivers,

Code: Alles auswählen

cp ./drivers ../win7-x64-[customname]/ -R
and again, last but not least, replace the install.wim under

Code: Alles auswählen

[server-share]/opsi_depot_rw/win7-x64-[customname]/installfiles
with your own.

this should be it.