I think you would need to use, --device-add cdrom {--device <name> | --image <image>} [--iface <ide|scsi>] [--subtype <virtio-scsi|hyperv>] [--passthr] [--position <n>]
So I think to mount the ISO image prlctl set c7-vm1 --device-add cdrom --image /path/to/iso If you have to specify "--device device"as well, then I'd suggest checking the cd-rom device from, virsh edit c7-vm1 could be hda or hdc On Wed, Jul 3, 2019 at 2:18 AM jjs - mainphrame <j...@mainphrame.com> wrote: > I've long been using openvz for running containers. Now I'm looking into > running VMs. > > I've looked through the docs and can't find a description of how to > install an OS into a VM, once created. > > I created a centos 7 vm with: > # prlctl create c7-vm1 --distribution centos7 --vmtype vm > > I set the remote access with: > # prlctl set c7-vm1 --vnc-mode manual --vnc-port 59000 --vnc-passwd xxxxxx > > 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. > > I'd like to buy a clue, please. > > jake > _______________________________________________ > Users mailing list > Users@openvz.org > https://lists.openvz.org/mailman/listinfo/users > -- Thanks, Arjit Chaudhary
_______________________________________________ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users