Does anyone have any idea why I can’t get this working.
I have a windows7 guest vm installed with virt-install on a bridge. Windows 7 or 10 cannot get a drive for the network installed.
Following this thread enter link description here
I download this iso and want to mount this so that the guest can see it. I have been trying different things for over an hour. nothing is working on my machine I am always getting
error: Failed to attach disk
error: unsupported configuration: unsupported driver name ‘file’ for disk ‘hdc’
I have tried generally
attach-disk win7 /tmp/virtio-win-0.1.185.iso hdc --driver file --type cdrom --mode readonly
The above I have tried SEVERAL different ways and I end up with the same results. I tried other ways like building an XML file and I always end up with an error or the sorts. Everywhere online points to a simply command like this, so I am clearly doing something wrong.
Can someone point to me what is going on?
I also copied the xml snippet from another guest in the xml like so :
<disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/tmp/virtio-win-0.1.185.iso'/> <target dev='hdb' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk>
This time my guest accepted it with no warning but even on reboot I do not see something showing if I vnc into the windows vm. I am at a loss…