[Users] Creating a VM

Arjit Chaudhary arjit.c at gmail.com
Wed Jul 3 00:37:21 MSK 2019


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 <jjs at 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 at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>


-- 
Thanks,
Arjit Chaudhary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20190703/8c5c2886/attachment.html>


More information about the Users mailing list