-
Book Overview & Buying
-
Table Of Contents
Linux Service Management Made Easy with systemd
Netplan is the new network configuration tool for Ubuntu. On a desktop machine, it doesn't do much except tell the system to use NetworkManager. On a server, you would create the networkd configuration in a .yaml file in the /etc/netplan/ directory. Netplan will take this .yaml file and translate its contents into networkd format.
To begin, I'd like to show you the default configuration on an Ubuntu desktop machine. (Yeah, I know. I didn't tell you that you'd need an Ubuntu desktop virtual machine, but that's okay. This is the only time we'll need it, so you can just look at what I'm showing you here.) In the /etc/netplan/ directory, we have the default configuration file that was created when I created the virtual machine:
donnie@donald-virtualbox:~$ cd /etc/netplan/ donnie@donald-virtualbox:/etc/netplan$ ls -l total 4 -rw-r--r-- 1 root root 104 Feb ...