vmrc
vmrc copied to clipboard
minor issue with service vm oneiso vm1 (trying to install to zvol)
The vm script appear to ignore the value of vm_dev_type in the vm.conf file when booting install CD
using a command like service vm oneiso vm1
This line hard codes image in the device map
line 312: echo "(hd0) $host_vmdir/$1/${1}.img" > $host_vmdir/$1/device.map
The workaround is to create vm1.img as a symlink to the right zvol. Perhaps in the case of a non-img setting the mkvm.sh could create this link just as it creates a symlink to the iso.
with the symlink in place everything worked smoothly, thanks