[Users] Creating a VM

jjs - mainphrame jjs at mainphrame.com
Wed Jul 3 06:26:23 MSK 2019


I'm very pleased with the performance of openvz VMs - just a quick test
spinning up identically spec'd centos 7 VMs under kvm, virtualbox and
openvz, and openvz was outperforming the others by a definitive margin,
Kudos to the developers.

Jake

On Tue, Jul 2, 2019 at 2:49 PM jjs - mainphrame <jjs at mainphrame.com> wrote:

> 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/d09fe708/attachment.html>


More information about the Users mailing list