setup module, dont truncate hpux interfaces (#75423)

* setup module, dont truncate hpux interfaces

  fixes #70533

 no hpux to test so relying on man page and users that reported successful testing
pull/75812/head
Brian Coca 4 years ago committed by GitHub
parent 3d872fb5e8
commit 03083c3139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
bugfixes:
- setup module should now not truncate hpux interface names.

@ -60,7 +60,7 @@ class HPUXNetwork(Network):
def get_interfaces_info(self):
interfaces = {}
rc, out, err = self.module.run_command("/usr/bin/netstat -ni")
rc, out, err = self.module.run_command("/usr/bin/netstat -niw")
lines = out.splitlines()
for line in lines:
words = line.split()

Loading…
Cancel
Save