Skip to main content

Ubuntu

note

Ubuntu Server 18.04 and 20.04 are provided as OVF files. Send a ticket to the technical unit to receive the file.

User Root access#

To execute commands or upload files, the software must have access to the root user. So the following password must be set on the root user:

AdminRasa123

If you use another password, click on the Edit icon in the Template Section in the software and set the new password.

Set the IP#

To set the IP on these types of templates, file contents software

/etc/netplan/50-cloud-init.yaml

Saves as follows:

network:
ethernets:
[ether name, like ens160]:
addresses:
- [IP Address]
gateway4: [Gateway]
nameservers:
addresses:
- [DNS 1]
- [DNS 2]
version: 2

Then execute the following commands to restart the network card

netplan apply

Set the password#

The following command is executed to set the password

echo -e "[New Password]\n[New Password]" | passwd root

Extend the disk space#

To increase the usable volume in the operating system after increasing the disk size, the following command is executed

growpart /dev/sda 2 && resize2fs /dev/sda2
caution

The above command is for extending the second partition to Linux (83). Other types of partitions (such as LVM) are not yet available. In the next updates, support for various partition types will be added.