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
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,
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.