.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "netplan-set" "8" "" "" "" .hy .SH NAME .PP netplan-set - write netplan YAML configuration snippets to file .SH SYNOPSIS .PP \f[B]netplan\f[R] [--debug] \f[B]set\f[R] -h | --help .PP \f[B]netplan\f[R] [--debug] \f[B]set\f[R] [--root-dir=ROOT_DIR] [--origin-hint=ORIGIN_HINT] [key=value] .SH DESCRIPTION .PP \f[B]netplan set [key=value]\f[R] writes a given key/value pair or YAML subtree into a YAML file in \f[V]/etc/netplan/\f[R] and validates its format. .PP You can specify a single value as: \f[V]\[dq][network.]ethernets.eth0.addresses=[1.2.3.4/24, 5.6.7.8/24]\[dq]\f[R] or a full subtree as: \f[V]\[dq][network.]ethernets.eth0={dhcp4: true, dhcp6: true}\[dq]\f[R]. .PP For details of the configuration file format, see \f[B]netplan\f[R](5). .SH OPTIONS .TP -h, --help Print basic help. .TP --debug Print debugging output during the process. .TP --root-dir Write YAML files into this root instead of / .TP --origin-hint Specify a name for the config file, e.g.: \f[V]70-netplan-set\f[R] => \f[V]/etc/netplan/70-netplan-set.yaml\f[R] .SH SEE ALSO .PP \f[B]netplan\f[R](5), \f[B]netplan-get\f[R](8), \f[B]netplan-dbus\f[R](8) .SH AUTHORS Lukas Märdian (lukas.maerdian\[at]canonical.com).