.\" 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 \f[V]netplan-set\f[R] - write Netplan YAML configuration snippets to file .SH SYNOPSIS .PP \f[B]\f[VB]netplan\f[B]\f[R] [\f[I]--debug\f[R]] \f[B]set\f[R] \f[B]-h\f[R]|\f[B]--help\f[R] .PP \f[B]\f[VB]netplan\f[B]\f[R] [\f[I]--debug\f[R]] \f[B]set\f[R] [\f[I]--root-dir=ROOT_DIR\f[R]] [\f[I]--origin-hint=ORIGIN_HINT\f[R]] [\f[I]key=value\f[R]] .SH DESCRIPTION .PP \f[B]\f[VB]netplan set [key=value]\f[B]\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]\f[VB]netplan\f[B]\f[R](5). .SH OPTIONS .TP \f[V]-h\f[R], \f[V]--help\f[R] Print basic help. .TP \f[V]--debug\f[R] Print debugging output during the process. .TP \f[V]--root-dir\f[R] Write YAML files into this root instead of \f[V]/\f[R]. .TP \f[V]--origin-hint\f[R] Specify a name for the configuration 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]\f[VB]netplan\f[B]\f[R](5), \f[B]\f[VB]netplan-get\f[B]\f[R](8), \f[B]\f[VB]netplan-dbus\f[B]\f[R](8) .SH AUTHORS Lukas Märdian (lukas.maerdian\[at]canonical.com).