Use ip from iproute2 package instead of net-tools
iproute2 is a direct depency from pve-qemu-kvm and should be always available use -statistics so we get the RX/TX traffic sum like ifconfig use -details to get extra info like current vlan_protocol
This commit is contained in:
parent
4092576b1b
commit
245859bd83
@ -27,7 +27,7 @@ if (system('command -v multipath > /dev/null 2>&1') == 0) {
|
||||
|
||||
my @machines = ('qm list', sub { dir2text('/etc/pve/qemu-server/', '\d.*conf') });
|
||||
|
||||
my @net = ('ifconfig', 'cat /etc/network/interfaces', sub { dir2text('/etc/pve/firewall/', '.*fw') },
|
||||
my @net = ('ip -details -statistics address', 'cat /etc/network/interfaces', sub { dir2text('/etc/pve/firewall/', '.*fw') },
|
||||
'iptables-save');
|
||||
|
||||
my @cluster = ('pvecm nodes', 'pvecm status');
|
||||
|
Loading…
x
Reference in New Issue
Block a user