<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>It is definitely a bug &#8211; feel free to file it at&nbsp;<a href="https://bugs.openvz.org">https://bugs.openvz.org</a></div>
<div><br>
</div>
<div>Workaround &#8211; please create VM without '&#8212;no-hdd' and replace the resulted HDD image by the coreos one.</div>
<div><br>
</div>
<div>Thank you,</div>
<div>Dmitry.&nbsp;</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>&lt;<a href="mailto:users-bounces@openvz.org">users-bounces@openvz.org</a>&gt; on behalf of Lee Briggs &lt;<a href="mailto:lee@brig.gs">lee@brig.gs</a>&gt;<br>
<span style="font-weight:bold">Reply-To: </span>OpenVZ users &lt;<a href="mailto:users@openvz.org">users@openvz.org</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Wednesday 23 December 2015 23:06<br>
<span style="font-weight:bold">To: </span>&quot;<a href="mailto:users@openvz.org">users@openvz.org</a>&quot; &lt;<a href="mailto:users@openvz.org">users@openvz.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>[Users] prlctl support for qcow2/img images?<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div>
<div dir="ltr"><span style="color: rgb(78, 78, 78); font-family: Tahoma, Calibri, Verdana, Geneva, sans-serif; font-size: 14.6667px; line-height: 20.5333px;">I'm trying to create a VM with a qcow2 or img file as the HDD. I tried the following</span><br style="margin-top:0px;color:rgb(78,78,78);font-family:Tahoma,Calibri,Verdana,Geneva,sans-serif;font-size:14.6667px;line-height:20.5333px">
<br style="color:rgb(78,78,78);font-family:Tahoma,Calibri,Verdana,Geneva,sans-serif;font-size:14.6667px;line-height:20.5333px">
<span style="color: rgb(78, 78, 78); font-size: 14.6667px; line-height: 20.5333px; font-family: 'Courier New';">prlctl create coreos -o linux --no-hdd<br>
Creating the virtual machine...<br>
Generate the VM configuration for centos.<br>
Remove the hdd0 device.<br>
<b>prlctl set coreos --device-add hdd --image coreos1.qcow2</b><br>
The folder /root/coreos1.qcow2 does not exist. Specify another folder and try again.<br>
Creating hdd0 (&#43;) scsi:0 image='/root/coreos1.qcow2' type='expanded' 65536Mb subtype=virtio-scsi<br>
<br>
PrlVmDev_CreateImage: The hard disk image file cannot be created. The virtual hard disk image file named /root/coreos1.qcow2 already exists.<br>
Failed to configure the virtual machine<br>
</span><br style="color:rgb(78,78,78);font-family:Tahoma,Calibri,Verdana,Geneva,sans-serif;font-size:14.6667px;line-height:20.5333px">
<span style="color:rgb(78,78,78);font-size:14.6667px;line-height:20.5333px;font-family:Arial">Is there some trick to this that needs documenting?</span><br>
</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>