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 Print debugging output during the process.
29
30       –root-dir
31              Write YAML files into this root instead of /
32
33       –origin-hint
34              Specify  a  name  for  the  config file, e.g.: 70-netplan-set =>
35              /etc/netplan/70-netplan-set.yaml
36

SEE ALSO

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

AUTHORS

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