Disable netplan on Ubuntu 17.10

Netpaln is default network configuration tool introduced in ubuntu 17.10 and if you want to disable this to go back to old ways of configuring network use the following procedure.

Netplan is a YAML network configuration abstraction for various backends (NetworkManager, networkd).

It is a utility for easily configuring networking on a system. It can be used by writing a YAML description of the required network interfaces with what they should be configured to do. From this description it will generate the required configuration for a chosen renderer tool.

Note:- This is not recommended and this is for advanced users only

Edit the /etc/default/grub file

sudo nano /etc/default/grub

Add the following line

GRUB_CMDLINE_LINUX="netcfg/do_not_use_netplan=true"

Save and exit the file

Now update the grub using the following command

sudo update-grub

You need to install ifupdown package

sudo apt install ifupdown

Now you can add all the interface details in /etc/network/interfaces file and reboot the ubuntu PC/server.

Sponsored Link

Related posts

2 thoughts on “Disable netplan on Ubuntu 17.10

  1. There is no point in making the grub change at all after install. The only thing that matters is to reinstall ifupdown. This “netcfg/…” debconf key is only used at install time, in debian-installer.

    I want to stress that this is not recommended. You’ll find that for most use cases, netplan is better than ifupdown. If you need to do something that doesn’t work, or you need help, better to ask in #netplan on Freenode so we can see if it can be added.

  2. Don’t see the point of netplan beside making it much harder to configure a static network. If there is a way to move back to /etc/network/interface – would be my preferred option.
    I’m looking may switch to debian – hope they don’t go this route

Leave a comment

Your email address will not be published. Required fields are marked *