home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

Provisioning a guest manually

You can provision a guest manually by using a series of set virtualization guest commands.

The following example shows how to install and configure a guest with a remote display console connected to one network device and with the following parameters:
  • Unique name of the guest: a-guest.

    The name for a guest can be alphanumeric, consisting of uppercase letters, lowercase letters, numbers, the dash, and underscore . However, you cannot start a guest name with either the dash or underscore.

  • Number of CPUs: 2.

    The maximum number of CPUs that can be configured is 8.

  • Amount of RAM: 2048 MB.

    The maximum memory that can be configured is 6144 MB.

To install and configure a guest, perform the following steps in configuration mode.

Table 1. Provisioning a guest manually
Step Command
Create a guest called a-guest.
vyatta@vyatta# set virtualization guest a-guest
Assign the UUID to the guest.
vyatta@vyatta# set virtualization guest a-guest uuid afbca013-f984-44bf-a294-2190771ab53f
Set the number of CPUs as 2.
vyatta@vyatta# set virtualization guest a-guest cpus 2
Set the RAM as 2048 MB.
vyatta@vyatta# set virtualization guest a-guest memory 2048
Set a virtual disk for the guest.
vyatta@vyatta#  set virtualization guest a-guest devices disk 0 device-type disk
Set the path of the disk image as /var/lib/libvirt/images/an-image.qcow2.
vyatta@vyatta# set virtualization guest a-guest devices disk 0 source file /var/lib/libvirt/images/an-image.qcow2
Set the boot order of the disk as 1.
vyatta@vyatta# set virtualization guest a-guest devices disk 0 boot-order 1
Set the display password as lotr.
vyatta@vyatta# set virtualization guest a-guest devices display password lotr
Set the display port as 5910.
vyatta@vyatta# set virtualization guest a-guest devices display port 5910
Set the remote display access type as vnc.
vyatta@vyatta# set virtualization guest a-guest devices display connection-type vnc
Commit the changes.
vyatta@vyatta# commit
Display the result.
vyatta@vyatta# show virtualization
 virtualization {
        guest a-guest {
                cpus 2
                devices {
                        disk 0 {
                                boot-order 1
                                device-type disk
                                source {
                                        file /var/lib/libvirt/images/an-image.qcow2
                                }
                        }
                        display {
                                connection-type vnc
                                password "********"
                                port 5910
                        }
                }
                memory 2048
                uuid afbca013-f984-44bf-a294-2190771ab53f
        }
}