1. Go to directory /etc/netplan/
  2. You might find there a default netplan configuration file 50-cloud-init.yaml
  3. Edit this file by using any editor. Please backup the file first before you proceed to edit.
  4. Once complete, apply changes with command:
    • sudo netplan apply
  5. In case have a issue, tun this command:
    • sudo netplan –debug apply