DEV Community

Cover image for Netplan: Disable Cloud-init configuration
Sergio Peris
Sergio Peris

Posted on • Originally published at sertxu.dev

Netplan: Disable Cloud-init configuration

Cloud-init provides our device the network configuration at boot.

If we want to configure manually the network, we should disable the network configuration capabilites of Cloud-init so our configuration persist between reboots.

We need co create a configuration file at /etc/cloud/cloud.cfg.d with the instruction to disable it.

You can use the following command, or write it manually instead.

bash -c 'echo "network: {config: disabled}" > /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg'
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more