vmrc icon indicating copy to clipboard operation
vmrc copied to clipboard

minor issue with service vm oneiso vm1 (trying to install to zvol)

Open hxw opened this issue 9 years ago • 2 comments

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

hxw avatar Feb 13 '15 10:02 hxw