From a955b0d2bc35670eb3f55451928a8d3b5e30a7ed Mon Sep 17 00:00:00 2001 From: David Ekete <88355936+davidekete@users.noreply.github.com> Date: Mon, 12 Aug 2024 12:20:53 +0000 Subject: [PATCH] docs: Add 'netplan try' to tutorial (#494) * docs: add `netplan try` to netplan tutorial * docs: corrections and improvements to netplan try section --- doc/netplan-tutorial.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/netplan-tutorial.md b/doc/netplan-tutorial.md index 344096fda..3f0eeb758 100644 --- a/doc/netplan-tutorial.md +++ b/doc/netplan-tutorial.md @@ -395,13 +395,24 @@ After creating a new configuration as described in [Using netplan set to enable This interface has no IP address and its state is `DOWN`. -2. Apply the new Netplan configuration: +2. Test the new configuration (optional): + + ``` + netplan try + ``` + Applies the new configuration temporarily (120 seconds by default) and waits for confirmation (within the specified time) to make it permanent. + + +3. Apply the new Netplan configuration: ``` netplan apply ``` + :::{note} + Skip this step if you made the changes permanent using `netplan try`. + ::: -3. Check the state of the `enp6s0` interface again using one of the following two methods: +4. Check the state of the `enp6s0` interface again using one of the following two methods: * Using the `ip` tool: