[WINDOWS] more preinstalled drivers & guest-agent

* Update the autounattend file with the remaining virtio drivers
* Update the autounattend file with an installation step for the guest agent
* Remove obsolete instructions for steps that the autounattend file handles now

Signed-off-by: Dani Llewellyn <diddledani@ubuntu.com>
This commit is contained in:
Dani Llewellyn 2021-10-12 15:45:11 +01:00 committed by Martin Wimpress
parent 19428db2c7
commit 3749c85017
2 changed files with 32 additions and 6 deletions

View file

@ -245,8 +245,6 @@ quickemu --vm windows-11.conf
* Complete the installation as you normally would.
* Post-install:
* Run the VirtIO installer (`virtio-win-gt-x64`) from the CD Drive (E:).
* Run the Guest Tools installer (`virtio-win-guest-tools`) from the CD Drive (E:).
* Download and install [spice-webdavd](https://www.spice-space.org/download/windows/spice-webdavd/spice-webdavd-x64-latest.msi)
* Enables file sharing between the host and guest.
* Download and install [UsbDk](https://www.spice-space.org/download/windows/usbdk/)

View file

@ -187,22 +187,43 @@ function unattended_windows() {
<!--
This makes the VirtIO drivers available to Windows, assuming that
the VirtIO driver disk
(https://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/)
(https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md)
is available as drive E:
-->
<DriverPaths>
<PathAndCredentials wcm:action="add" wcm:keyValue="1">
<Path>E:\amd64\w10</Path>
<Path>E:\qemufwcfg\w10\amd64</Path>
</PathAndCredentials>
<PathAndCredentials wcm:action="add" wcm:keyValue="2">
<Path>E:\viogpudo\w10\amd64</Path>
<Path>E:\vioinput\w10\amd64</Path>
</PathAndCredentials>
<PathAndCredentials wcm:action="add" wcm:keyValue="3">
<Path>E:\viorng\w10\amd64</Path>
<Path>E:\vioscsi\w10\amd64</Path>
</PathAndCredentials>
<PathAndCredentials wcm:action="add" wcm:keyValue="4">
<Path>E:\viostor\w10\amd64</Path>
</PathAndCredentials>
<PathAndCredentials wcm:action="add" wcm:keyValue="5">
<Path>E:\vioserial\w10\amd64</Path>
</PathAndCredentials>
<PathAndCredentials wcm:action="add" wcm:keyValue="6">
<Path>E:\qxldod\w10\amd64</Path>
</PathAndCredentials>
<PathAndCredentials wcm:action="add" wcm:keyValue="7">
<Path>E:\amd64\w10</Path>
</PathAndCredentials>
<PathAndCredentials wcm:action="add" wcm:keyValue="8">
<Path>E:\viogpudo\w10\amd64</Path>
</PathAndCredentials>
<PathAndCredentials wcm:action="add" wcm:keyValue="9">
<Path>E:\viorng\w10\amd64</Path>
</PathAndCredentials>
<PathAndCredentials wcm:action="add" wcm:keyValue="10">
<Path>E:\NetKVM\w10\amd64</Path>
</PathAndCredentials>
<PathAndCredentials wcm:action="add" wcm:keyValue="11">
<Path>E:\viofs\w10\amd64</Path>
</PathAndCredentials>
</DriverPaths>
</component>
</settings>
@ -230,6 +251,13 @@ function unattended_windows() {
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>msiexec /i E:\guest-agent\qemu-ga-x86_64.msi /quiet /passive /qn</CommandLine>
<Description></Description>
<Order>1</Order>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
</unattend>