4.1.1. Creating a Virtual Machine from a Template

For your convenience, we have prepared a custom VM template myvm that you can use in this homework. The template is based on CentOS 7 x64 Minimal Install and includes some additional packages.

To create a VM from the template, do the following:

  1. Download the template from http://updates.cloudserver.virtuozzo.com/server/pcs/en_us/virtuozzo/7/beta/virtuozzo7-sample-vm.tar.gz.
  2. Unpack the template to a VM folder:

    # tar -xvf virtuozzo7-sample-vm.tar.gz -C /vz/vmprivate
  3. Register the new template:

    # prlctl register /vz/vmprivate/myvm.pvm
  4. Check that your new VM can be listed:

    # prlctl list -a
  5. Start your new VM:

    # prlctl start myvm

The default

  • root password is Virtuozzo1!,
  • VNC port is 5901, and
  • VNC password is 12345678.