summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorSeraphime Kirkovski <kirkseraph@gmail.com>2016-08-31 21:06:57 +0300
committerLennart Poettering <lennart@poettering.net>2016-08-31 20:06:57 +0200
commit07b0b339d6a818fd7aa71beecba8ffbd36d59a8f (patch)
tree9eeef526c77d0cab13831b72c957cdde698674bc /man
parentc7440e7401461a4bc668f5dae5b1861ed26b85dd (diff)
machinectl: split OS field in two; print ip addresses (#4058)
This splits the OS field in two : one for the distribution name and one for the the version id. Dashes are written for missing fields. This also prints ip addresses of known machines. The `--max-addresses` option specifies how much ip addresses we want to see. The default is 1. When more than one address is written for a machine, a `,` follows it. If there are more ips than `--max-addresses`, `...` follows the last address.
Diffstat (limited to 'man')
-rw-r--r--man/machinectl.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/man/machinectl.xml b/man/machinectl.xml
index 597a5cc583..7056fd4204 100644
--- a/man/machinectl.xml
+++ b/man/machinectl.xml
@@ -285,6 +285,20 @@
name passed.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--max-addresses=</option></term>
+
+ <listitem><para>When used with the <option>list-machines</option>
+ command, limits the number of ip addresses output for every machine.
+ Defaults to 1. All addresses can be requested with <literal>all</literal>
+ as argument to <option>--max-addresses</option> . If the argument to
+ <option>--max-addresses</option> is less than the actual number
+ of addresses,<literal>...</literal>follows the last address.
+ If multiple addresses are to be written for a given machine, every
+ address except the first one is on a new line and is followed by
+ <literal>,</literal> if another address will be output afterwards. </para></listitem>
+ </varlistentry>
+
<xi:include href="user-system-options.xml" xpointer="host" />
<xi:include href="user-system-options.xml" xpointer="machine" />