Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Username: user

Password: password

...

Step 2

Go to terminal

...

Make a copy of the default config file

...

Note

Please edit the following content according to your settings. Pay attention to ethernet interface name and default gateway ip address. In this example I am setting the static ip address to 192.168.1.220

Code Block
network:
  renderer: networkd
  ethernets:
    enp2s0:
      dhcp4: false
      dhcp6: false
      addresses:
        - 192.168.1.220/24
      nameservers:
        addresses: [8.8.8.8]
      routes:
        - to: default
          via: 192.168.1.1
  version: 2

...