<div dir="ltr">I think you would need to use,<div><br></div><div>        --device-add cdrom {--device &lt;name&gt; | --image &lt;image&gt;}<br>                [--iface &lt;ide|scsi&gt;] [--subtype &lt;virtio-scsi|hyperv&gt;] [--passthr] [--position &lt;n&gt;]<br></div><div><br></div><div>So I think to mount the ISO image</div><div><br></div><div>prlctl set c7-vm1 --device-add cdrom --image /path/to/iso</div><div><br></div><div>If you have to specify &quot;--device device&quot;as well, then I&#39;d suggest checking the cd-rom device from,</div><div> virsh edit c7-vm1</div><div><br></div><div>could be hda or hdc</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 3, 2019 at 2:18 AM jjs - mainphrame &lt;<a href="mailto:jjs@mainphrame.com">jjs@mainphrame.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I&#39;ve long been using openvz for running containers. Now I&#39;m looking into running VMs.<br><br>I&#39;ve looked through the docs and can&#39;t find a description of how to install an OS into a VM, once created.<br><br>I created a centos 7 vm with:<br># prlctl create c7-vm1 --distribution centos7 --vmtype vm<br><br>I set the remote access with:<br># prlctl set c7-vm1 --vnc-mode manual --vnc-port 59000 --vnc-passwd xxxxxx<br><br>But I don&#39;t see how to launch an installer, as I would in e.g. kvm. I can see the vm booting up through the vnc connection, and it apparently can&#39;t find the iso image sitting in the vmprivate/vm-id directory. <br><br>I&#39;d like to buy a clue, please.<br><br>jake</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Thanks,<br>Arjit Chaudhary<br><div><div></div></div></div>