NETPLAN-APPLY(8)
okay so bestie, welcome to NETPLAN-APPLY(8) from the System Managerโs Manual ๐ซถ this is the page for netplan-apply, aka the move where Netplan applies configuration from Netplan YAML files to a running system. main character energy fr fr โจ
๐ NAME ๐
netplan-apply โ apply configuration from Netplan YAML files to a running system ๐ฆ
โจ SYNOPSIS โจ
netplan [--debug] apply -h|--help
netplan [--debug] apply
๐ธ DESCRIPTION ๐ธ
netplan apply applies the current Netplan configuration to a running system. periodt. ๐
The process works as follows:
- The back-end configuration is generated from Netplan YAML files.
- The appropriate back ends (
systemd-networkd(8)orNetworkManager(8)) are invoked to bring up configured interfaces. netplan applyiterates through interfaces that are still down, unbinding them from their drivers and rebinding them. This givesudev(7)renaming rules the opportunity to run.- If any devices have been rebound, the appropriate back ends are re-invoked in case more matches can be done.
For information about the generation step, see netplan-generate(8). For details of the configuration file format, see netplan(5). iykyk ๐
๐ OPTIONS ๐
-h,--helpโ print basic help. like, โhey bestie, what are the flags again?โ energy ๐ซถ--debugโ print debugging output during the process. all the receipts, literally ๐ฅ
๐ KNOWN ISSUES ๐
okay this is the โit do be like thatโ part, so listen up bestie ๐ญ
netplan apply will not remove virtual devices such as bridges and bonds that have been created, even if they are no longer described in the Netplan configuration. That is due to the fact that Netplan operates statelessly and is not aware of the previously defined virtual devices. no cap ๐
This can be resolved by manually removing the virtual device (for example ip link delete dev bond0) and then running netplan apply, by rebooting, or by creating a temporary backup of the YAML state in /etc/netplan before modifying the configuration and passing this state to Netplan (e.g. mkdir -p /tmp/netplan_state_backup/etc && cp -r /etc/netplan /tmp/netplan_state_backup/etc/ then running netplan apply --state /tmp/netplan_state_backup). ๐ง
๐ SEE ALSO ๐
go read these, bestie ๐๐
๐ AUTHORS ๐
Daniel Axtens (daniel.axtens@canonical.com). iconic. ๐
byeee ๐ โ signing off from the System Managerโs Manual, NETPLAN-APPLY(8) edition. the footer didnโt list a date, so no invented date here, bestie ๐ซถโจ
๐ฆ where this page comes from
- arch rolling: netplan 1.2.2-1 ยท GPL-3.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms