<div dir="ltr">I think you would need to use,<div><br></div><div> --device-add cdrom {--device <name> | --image <image>}<br> [--iface <ide|scsi>] [--subtype <virtio-scsi|hyperv>] [--passthr] [--position <n>]<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 "--device device"as well, then I'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 <<a href="mailto:jjs@mainphrame.com">jjs@mainphrame.com</a>> 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've long been using openvz for running containers. Now I'm looking into running VMs.<br><br>I've looked through the docs and can'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'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't find the iso image sitting in the vmprivate/vm-id directory. <br><br>I'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>