diff options
author | Seraphime Kirkovski <kirkseraph@gmail.com> | 2016-08-31 21:06:57 +0300 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-07-05 08:50:53 +0200 |
commit | 17aeba0786394b9c1b29d56061ee8ed6fbf830eb (patch) | |
tree | 1631687c4d76edcebc5685109b367f0041ee01b4 /src/basic/def.h | |
parent | f8b903a5947589b91ccfbc5a87ee3f8c5726c354 (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/basic/def.h')
0 files changed, 0 insertions, 0 deletions