[Users] Creating a VM

jjs - mainphrame jjs at mainphrame.com
Wed Jul 3 00:49:53 MSK 2019


Yes, that's it - thanks for the quick response.

Jake

On Tue, Jul 2, 2019 at 2:42 PM Arjit Chaudhary <arjit.c at gmail.com> wrote:

> 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
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20190702/ca99e0a3/attachment-0001.html>


More information about the Users mailing list