96 lines
2.3 KiB
HTML
96 lines
2.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of netplan-set</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>netplan-set</H1>
|
|
Section: (8)<BR>Updated: <BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
<P>
|
|
|
|
netplan-set - write netplan YAML configuration snippets to file
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
|
|
netplan [-debug] set -h | -help
|
|
<P>
|
|
|
|
netplan [-debug] set [-root-dir=ROOT_DIR]
|
|
[-origin-hint=ORIGIN_HINT] [key=value]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
netplan set [key=value] writes a given key/value pair or YAML
|
|
subtree into a YAML file in /etc/netplan/ and validates its
|
|
format.
|
|
<P>
|
|
|
|
You can specify a single value as:
|
|
"[network.]ethernets.eth0.dhcp4=[1.2.3.4/24, 5.6.7.8/24]"
|
|
or a full subtree as:
|
|
"[network.]ethernets.eth0={dhcp4: true, dhcp6: true}".
|
|
<P>
|
|
|
|
For details of the configuration file format, see <A HREF="/cgi-bin/man/man2html?5+netplan">netplan</A>(5).
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-h, -help</B>
|
|
|
|
<DD>
|
|
Print basic help.
|
|
<DT id="2"><B>-debug</B>
|
|
|
|
<DD>
|
|
Print debugging output during the process.
|
|
<DT id="3"><B>-root-dir</B>
|
|
|
|
<DD>
|
|
Write YAML files into this root instead of /
|
|
<DT id="4"><B>-origin-hint</B>
|
|
|
|
<DD>
|
|
Specify the name of the overwrite YAML file, e.g.:
|
|
70-netplan-set =>
|
|
/etc/netplan/70-netplan-set.yaml
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?5+netplan">netplan</A>(5), <A HREF="/cgi-bin/man/man2html?8+netplan-get">netplan-get</A>(8),
|
|
<A HREF="/cgi-bin/man/man2html?8+netplan-dbus">netplan-dbus</A>(8)
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
Lukas Märdian (<A HREF="mailto:lukas.maerdian@canonical.com">lukas.maerdian@canonical.com</A>).
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="8"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="9"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="10"><A HREF="#lbAG">AUTHORS</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:14 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|