[Discuss] I Hate Ubuntu

Richard Pieri richard.pieri at gmail.com
Tue May 8 14:39:37 EDT 2018


Specifically, I hate Ubuntu 17 and 18.

Specifically, I hate Netplan which is a requirement in Ubuntu 17 and 18.

Because static YAML files are superior to static interfaces files?

Here's my home server's interfaces file:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp0s31f6
iface enp0s31f6 inet static
        address 192.168.1.202/24
        gateway 192.168.1.2
        dns-nameservers 192.168.1.202
        dns-search rgo.gweep.net

And here is the rough equivalent for Netplan:

network:
  version 2:
  ethernets:
    enp0s31f6:
      addresses:
      - 192.168.1.202/24
      gateway4: 192.168.1.2
      nameservers:
        addresses:
        - 192.168.1.202
        search:
        - rgo.gweep.net

Aside from Netplan's dependencies on systemd-networkd (pffft) and
NetworkManager (snicker), I'm just not seeing how the Netplan way is
better than the interfaces file.

-- 
Rich P.



More information about the Discuss mailing list