-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inject drivers and other files into Windows iso image #135
Comments
Hi @harmw, I sent a PR a few months ago related with this (#54). It allows you to add content to the ISO image before starting the installation, you can place the virtio drivers there and point from you unattend installation to that folder. You can also use it for adding the old Cheers, |
Yep, exactly as Luis says. In theory there is also the mechanism which allows you to copy files into the guest during the customization phase, but that doesn't work with Windows. So for now you'll have to go with using the |
@harmw, does the answer help you? What @clalancette said also reminds me that I have a pending patch to support Anyway, having If it helps you, part of my TDL files look like.
For the virtio case (in the example copied to
|
Hi guys, looks like i've missed this in the man pages. The above works as expected, as far as the tdl is concerned. In which settings pass and component should I put the DriverPaths code in the unattended.xml? Using component Microsoft-Windows-PnpCustomizationsWinPE in settings pass="windowsPE" didn't install anything. |
You're right, this functionality needs more documentation... For me, it works in windowsPE settings. You can also check in the modified ISO image if everything is ok (in my example, inside the virtio folder there are no subfolders).
|
Are you installing with virtio as will (oz-install -b virtio)? I'm still without succes on this, setup complains about the disks layout which is most likely because of missing virtio drivers. |
Yes, I'm specifying |
Nevermind, I noticed my oz-install command was missing the -a parameter so it didn't use my custom unattended xml. Perhaps the documentation on this can be extended? It works like a charm now, though I'm mostly using the cloudbase xml from https://raw.github.com/cloudbase/windows-openstack-imaging-tools/master/Autounattend.xml. I also suffered from https://bugzilla.redhat.com/show_bug.cgi?id=966861, so using 0.52 virtio drivers helped as well. On to including cloud-init stuff :) Thanks you both. |
Hi harmw whether can share more detail how to use Oz install windows 2012 image, that can include cloud init? |
Hi,
In order to install Windows 2012 with virtio one needs to mount the driver disc from http://alt.fedoraproject.org/pub/alt/virtio-win/. It'd be great if oz could inject these (any) drivers into the installation iso image primarily to support virtio installations.
Furthermore, to support a more cloudy setup oz should be able to inject a setupcomplete.cmd file into a freshly installed system, allowing final customization when setup has finished.
Thanks.
The text was updated successfully, but these errors were encountered: