summaryrefslogtreecommitdiff
path: root/src/hostname
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 /src/hostname
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 'src/hostname')
0 files changed, 0 insertions, 0 deletions