NETPLAN-TRY(8)
๐ netplan-try(8) ๐
okay so bestie, this is the netplan-try page from the System Manager's Manual, and itโs literally the โtry it before you commitโ vibe check for your network config. Manual name folded in right here instead of copying the header line, periodt. ๐
๐ธ NAME ๐ธ
netplan-try โ try a configuration, optionally rolling it back
โจ SYNOPSIS โจ
netplan [--debug] try -h|--help
netplan [--debug] try [--config-file CONFIG_FILE] [--timeout TIMEOUT]
๐ DESCRIPTION ๐
netplan try takes a netplan(5) configuration, applies it, and automatically rolls it back if the user does not confirm the configuration within a time limit. Itโs giving safety net, ngl. ๐ญ
A configuration can be confirmed or rejected interactively or by sending the SIGUSR1 or SIGINT signals.
This may be especially useful on remote systems, to prevent an administrator being permanently locked out of systems in the case of a network configuration error. Remote-admin main character energy, fr fr. ๐ซถ
๐ OPTIONS ๐
-h,--helpโ Print basic help. Simple, iconic, does what it says.--debugโ Print debugging output during the process. For when you need the receipts. ๐ฅ--config-file CONFIG_FILEโ In addition to the usual configuration, applyCONFIG_FILE. It must be a YAML file in thenetplan(5)format.--timeout TIMEOUTโ Wait forTIMEOUTseconds before reverting. Defaults to120seconds. Note that some network configurations (such as STP) may take over a minute to settle. So like, donโt rush the vibe check. ๐ธ
๐ญ KNOWN ISSUES ๐ญ
netplan try uses similar procedures to netplan apply, so some of the same caveats apply around virtual devices.
There are also some known bugs: if netplan try times out or is cancelled, make sure to verify if the network configuration has in fact been reverted.
As with netplan apply, a reboot should fix any issues. However, be sure to verify that the configuration on disk is in the state you expect before rebooting!
โ ๏ธ bestie, read that last bit again: verify the config on disk before you reboot. The drama is not worth it. ๐
๐ฅ SEE ALSO ๐ฅ
netplan(5), netplan-generate(8), netplan-apply(8)
๐ AUTHORS ๐
Daniel Axtens (daniel.axtens@canonical.com).
๐ซถ and thatโs the whole netplan-try(8) page from the System Manager's Manual โ the footer didnโt print a version or date, so this is the cute sign-off instead. ๐
๐ฆ 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