It is definitely a bug - feel free to file it at https://bugs.openvz.org

Workaround - please create VM without '-no-hdd' and replace the resulted HDD 
image by the coreos one.

Thank you,
Dmitry.

From: <[email protected]<mailto:[email protected]>> on behalf of 
Lee Briggs <[email protected]<mailto:[email protected]>>
Reply-To: OpenVZ users <[email protected]<mailto:[email protected]>>
Date: Wednesday 23 December 2015 23:06
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [Users] prlctl support for qcow2/img images?

I'm trying to create a VM with a qcow2 or img file as the HDD. I tried the 
following

prlctl create coreos -o linux --no-hdd
Creating the virtual machine...
Generate the VM configuration for centos.
Remove the hdd0 device.
prlctl set coreos --device-add hdd --image coreos1.qcow2
The folder /root/coreos1.qcow2 does not exist. Specify another folder and try 
again.
Creating hdd0 (+) scsi:0 image='/root/coreos1.qcow2' type='expanded' 65536Mb 
subtype=virtio-scsi

PrlVmDev_CreateImage: The hard disk image file cannot be created. The virtual 
hard disk image file named /root/coreos1.qcow2 already exists.
Failed to configure the virtual machine

Is there some trick to this that needs documenting?
_______________________________________________
Users mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/users

Reply via email to