Hello,
I just wanted to post a nice workaround I came up with in case it helps
anybody.
The reason I needed it is that in oVirt 4.4, it appears I am unable to
change the nic1 type when creating VMs (maybe that's a bug?) and I
necessarily end up with the default nic1 type which needs a virtio driver
in Windows which is obviously not present on a clean install. Also, since
there is no networking, it can't be downloaded. I did think of mounting a
USB stick via remote-viewer, but something is wonky there too - the USB
device selection menu item is grayed out, and no, it's not permissions.
So what i did was to create an .iso file with spice-guest-tools-latest.exe
in it and copy the resulting iso file to the ISO domain. Then, I was easily
able to attach the ISO to the Windows machine in question and install
spice-guest-tools, which made the network adapter work.
Quick snippet of how I created the .iso:
$ find test
test
test/spice-guest-tools-latest.exe
$ mkisofs -o spice-tools.iso test
I: -input-charset not specified, using utf-8 (detected in locale settings)
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 116
Path table size(bytes): 10
Max brk space used 0
5124 extents written (10 MB)
Hope it helps somebody :).
Cheers!
iordan
--
The conscious mind has only one thread of execution.
Show replies by date
When I install windows, I click on "change cd" and I use the ovirt tools cd to
find the virtio net and disk drivers and again I swap the dvd.
Of course, you can repeat the process when your windows is ready as the 1-click installer
is quite handy.
Best Regards,
Strahil Nikolov
На 6 август 2020 г. 1:48:07 GMT+03:00, i iordanov <iiordanov(a)gmail.com> написа:
>Hello,
>
>I just wanted to post a nice workaround I came up with in case it helps
>anybody.
>
>The reason I needed it is that in oVirt 4.4, it appears I am unable to
>change the nic1 type when creating VMs (maybe that's a bug?) and I
>necessarily end up with the default nic1 type which needs a virtio
>driver
>in Windows which is obviously not present on a clean install. Also,
>since
>there is no networking, it can't be downloaded. I did think of mounting
>a
>USB stick via remote-viewer, but something is wonky there too - the USB
>device selection menu item is grayed out, and no, it's not permissions.
>
>So what i did was to create an .iso file with
>spice-guest-tools-latest.exe
>in it and copy the resulting iso file to the ISO domain. Then, I was
>easily
>able to attach the ISO to the Windows machine in question and install
>spice-guest-tools, which made the network adapter work.
>
>Quick snippet of how I created the .iso:
>$ find test
>test
>test/spice-guest-tools-latest.exe
>
>$ mkisofs -o spice-tools.iso test
>I: -input-charset not specified, using utf-8 (detected in locale
>settings)
>Total translation table size: 0
>Total rockridge attributes bytes: 0
>Total directory bytes: 116
>Path table size(bytes): 10
>Max brk space used 0
>5124 extents written (10 MB)
>
>Hope it helps somebody :).
>
>Cheers!
>iordan