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

NAME

6       netplan-set - write netplan YAML configuration snippets to file
7

SYNOPSIS

9       netplan [--debug] set -h | --help
10
11       netplan [--debug] set [--root-dir=ROOT_DIR] [--origin-hint=ORIGIN_HINT]
12       [key=value]
13

DESCRIPTION

15       netplan set [key=value] writes a given key/value pair or  YAML  subtree
16       into a YAML file in /etc/netplan/ and validates its format.
17
18       You    can    specify    a    single    value   as:   "[network.]ether‐
19       nets.eth0.dhcp4=[1.2.3.4/24, 5.6.7.8/24]" or a full subtree as:  "[net‐
20       work.]ethernets.eth0={dhcp4: true, dhcp6: true}".
21
22       For details of the configuration file format, see netplan(5).
23

OPTIONS

25       -h, --help
26              Print basic help.
27
28       --debug
29              Print debugging output during the process.
30
31       --root-dir
32              Write YAML files into this root instead of /
33
34       --origin-hint
35              Specify  a  name  for  the  config file, e.g.: 70-netplan-set =>
36              /etc/netplan/70-netplan-set.yaml
37

SEE ALSO

39       netplan(5), netplan-get(8), netplan-dbus(8)
40

AUTHORS

42       Lukas Märdian (lukas.maerdian@canonical.com).
43
44
45
46                                                                netplan-set(8)
Impressum