1netplan-try(8)                                                  netplan-try(8)
2
3
4

NAME

6       netplan-try - try a configuration, optionally rolling it back
7

SYNOPSIS

9       netplan [--debug] try -h | --help
10
11       netplan [--debug] try [--config-file CONFIG_FILE] [--timeout TIMEOUT]
12

DESCRIPTION

14       netplan try takes a netplan(5) configuration, applies it, and automati‐
15       cally rolls it back if the user  does  not  confirm  the  configuration
16       within a time limit.
17
18       A  configuration can be confirmed or rejected interactively or by send‐
19       ing the SIGUSR1 or SIGINT signals.
20
21       This may be especially useful on remote systems, to prevent an adminis‐
22       trator being permanently locked out of systems in the case of a network
23       configuration error.
24

OPTIONS

26       -h, --help
27              Print basic help.
28
29       --debug
30              Print debugging output during the process.
31
32       --config-file CONFIG_FILE
33              In addition to the usual configuration, apply  CONFIG_FILE.   It
34              must be a YAML file in the netplan(5) format.
35
36       --timeout TIMEOUT
37              Wait for TIMEOUT seconds before reverting.  Defaults to 120 sec‐
38              onds.  Note that some network configurations (such as  STP)  may
39              take over a minute to settle.
40

KNOWN ISSUES

42       netplan  try  uses  similar procedures to netplan apply, so some of the
43       same caveats apply around virtual devices.
44
45       There are also some known bugs: if netplan try times  out  or  is  can‐
46       celled,  make  sure  to verify if the network configuration has in fact
47       been reverted.
48
49       As with netplan apply, a reboot should fix  any  issues.   However,  be
50       sure  to  verify that the config on disk is in the state you expect be‐
51       fore rebooting!
52

SEE ALSO

54       netplan(5), netplan-generate(8), netplan-apply(8)
55

AUTHORS

57       Daniel Axtens (<daniel.axtens@canonical.com>).
58
59
60
61                                                                netplan-try(8)
Impressum