Submitted by yngens on Thu, 09/25/2014 - 23:35
The "cloudmin list-systems --host host.domain.tld --multiline" command provides such interesting network information as:
Unix hostname: host.domain.tld
IP address: xxx.xxx.xx.xx
MAC address: 02:54:10:6F:07:78
however it doesn't say anything about the gateway and dns resolvers. There is another network-rleated command: "cloudmin list-interfaces --host host.domain.tld", but it only gives netmask, interface and ip address. Hence the request to add gateway and DNS-resolver information to --multiline output to keep all network information at one place.
Thanks!
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Fri, 09/26/2014 - 18:45 Comment #1
Nice idea - I will add this to the
list-interfaces
output, which already includes the gateway.Submitted by yngens on Wed, 10/08/2014 - 04:26 Comment #2
Hi Jamie,
Lot's of useful improvements on 7.9. Trying new features, including this one. It is giving correctly:
cloudmin list-interfaces --host host.domain.tld --multiline
eth0
Physical interface: eth0
Address method: Static
IP address: 216.318.319.91
Netmask: 255.255.255.240
Ethernet address: 02:54:00:AB:5E:B0
DHCP entry: No
Gateway: 216.318.319.81
Nameserver: 127.0.0.1
Nameserver: 65.29.175.2
Nameserver: 216.318.196.2
Nameserver: 65.29.176.2
Nameserver: 65.29.174.2
Nameserver: 74.92.42.42
Nameserver: 8.8.8.8
Nameserver: 8.8.4.4
Search domain: domain.tld
TAP interface: tap0
Device model: virtio
Active: Yes
Use: Virtualmin shared address default
Use type: default
but would be even better if each nameserver had unique identifier. Is it possible to mark them Nameserver1, Nameserver2, ..., NameserverN?
Submitted by JamieCameron on Wed, 10/08/2014 - 12:20 Comment #3
No, that's the format all other API commands use.
Submitted by yngens on Wed, 10/08/2014 - 18:43 Comment #4
Ok then, not so important, let's mark this as closed. Thanks.