Provisioning a guest manually
You can provision a guest manually by using a series of set virtualization guest commands.
- 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.
Step | Command |
---|---|
Create a guest called a-guest . |
|
Assign the UUID to the guest. |
|
Set the number of CPUs as 2 . |
|
Set the RAM as 2048 MB . |
|
Set a virtual disk for the guest. |
|
Set the path of the disk image as /var/lib/libvirt/images/an-image.qcow2 . |
|
Set the boot order of the disk as 1 . |
|
Set the display password as lotr . |
|
Set the display port as 5910 . |
|
Set the remote display access type as vnc . |
|
Commit the changes. |
|
Display the result. |
|