Disable Netplan and enable ifupdown in 18.04 container


Does anyone know how to disable Netplan in an 18.04 container?

Normally I would disable it in /etc/default/grub using the “do_not_use_netplan=true” command (update-grub) and then apt install ifupdown.

I want to use openvswitch and as far as I’m aware netplan can’t control openvswitch and I’d rather not call scripts on startup, I like the ifupdown way!



It’s possible to remove the netplan.io package if you want to use ifupdown instead.

its okay i sorted it by creating the ovs bridges manually (ovs-vsctl) and then using netplan to give the bridge an ip.

I’ll look into how to remove netplan though for future ref.