diff options
author | Thierry Martin <tmartin@haproxy.com> | 2022-09-05 15:02:06 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-04-12 14:28:43 +0200 |
commit | 2f091b1b49543aade4aad9ec3b35b3665abac3e7 (patch) | |
tree | 9fc428bbdeec30c3870c4f7ea771486aa1668009 /man/systemd.nspawn.xml | |
parent | Merge pull request #25608 from poettering/dissect-moar (diff) | |
download | systemd-2f091b1b49543aade4aad9ec3b35b3665abac3e7.tar.xz systemd-2f091b1b49543aade4aad9ec3b35b3665abac3e7.zip |
nspawn: container network interface naming
systemd-nspawn now optionally supports colon-separated pair of
host interface name and container interface name for --network-macvlan, --network-ipvlan and --network-interface options.
Also supported in .nspawn configuration files (i.e Interface=, MACVLAN=, IPVLAN= parameters).
man page changed for ntwk interface naming
Diffstat (limited to 'man/systemd.nspawn.xml')
-rw-r--r-- | man/systemd.nspawn.xml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/man/systemd.nspawn.xml b/man/systemd.nspawn.xml index c1eef7853b..ec94176c01 100644 --- a/man/systemd.nspawn.xml +++ b/man/systemd.nspawn.xml @@ -531,8 +531,11 @@ <varlistentry> <term><varname>Interface=</varname></term> - <listitem><para>Takes a space-separated list of interfaces to - add to the container. This option corresponds to the + <listitem><para>Takes a space-separated list of interfaces to add to the container. + The interface object is defined either by a single interface name, referencing the name on the host, + or a colon-separated pair of interfaces, in which case the first one references the name on the host, + and the second one the name in the container. + This option corresponds to the <option>--network-interface=</option> command line switch and implies <varname>Private=yes</varname>. This option is privileged (see above).</para></listitem> @@ -544,7 +547,9 @@ <listitem><para>Takes a space-separated list of interfaces to add MACLVAN or IPVLAN interfaces to, which are then added to - the container. These options correspond to the + the container. The interface object is defined either by a single interface name, referencing the name + on the host, or a colon-separated pair of interfaces, in which case the first one references the name + on the host, and the second one the name in the container. These options correspond to the <option>--network-macvlan=</option> and <option>--network-ipvlan=</option> command line switches and imply <varname>Private=yes</varname>. These options are |