Configuring User and Network Parameters
This section describes the procedures involved in configuring the user and network parameters when Cloud-init ISO not available.
To configure SSH access:
-
Access the console.
-
Login with the default cloud-init credentials.
NoteYou must change the password immediately after logging in.
To configure the network and static IP addressing:
-
Login to the console.
-
Update the network configuration in /etc/netplan/50-cloud-init.yaml file.
The following is a sample network configuration:
network: ethernets: ens192: addresses: - "ipv4addrees/subnet" dhcp4: false gateway4: gateway_address nameservers: addresses: - ipvtaddress - ipv4address - ipv4address version: 2
-
Run the following command to apply the configuration:
sudo netplan apply
-
Exit the console.
-
Access the machine through SSH.