Change netplan renderer from networkd to NetworkManager

To change the netplan renderer from networkd to NetworkManager on Ubuntu, you can follow these steps:

  1. Open the netplan configuration file: Run the following command to open the netplan configuration file in a text editor:
sudo nano /etc/netplan/50-cloud-init.yaml
  1. Change the renderer: In the configuration file, you will see the “networkd” renderer specified. Change this to “NetworkManager” and save the file.
# Before
network:
version: 2
renderer: networkd

# After
network:
version: 2
renderer: NetworkManager

  1. Apply the changes: Run the following command to apply the changes to netplan:
sudo netplan apply
  1. Restart NetworkManager: Run the following command to restart the NetworkManager service:
sudo systemctl restart NetworkManager
  1. Verify the change: You can verify that the renderer has been changed by running the following command:
netplan --debug generate

It should show that the renderer is “NetworkManager”

You should now see that the NetworkManager service is managing your network interfaces.

Leave a Comment