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:

  1. Access the console.

  2. Login with the default cloud-init credentials.

    Note

    You must change the password immediately after logging in.

To configure the network and static IP addressing:

  1. Login to the console.

  2. 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
     
  3. Run the following command to apply the configuration:
    sudo netplan apply 
  4. Exit the console.

  5. Access the machine through SSH.