diff --git a/virt-install b/virt-install index 022f947d4..82b7e5373 100755 --- a/virt-install +++ b/virt-install @@ -470,6 +470,12 @@ def set_cli_defaults(options, guest): if guest.os.is_container(): return + if (options.unattended and + guest.osinfo.is_windows() and + guest.osinfo.supports_unattended_drivers(guest.os.arch)): + guest.add_extra_drivers( + guest.osinfo.get_pre_installable_devices(guest.os.arch)) + res = guest.osinfo.get_recommended_resources() storage = res.get_recommended_storage(guest.os.arch) ram = res.get_recommended_ram(guest.os.arch)