setup module, dont truncate hpux interfaces (#75423) (#75490)

* setup module, dont truncate hpux interfaces

  fixes #70533

 no hpux to test so relying on man page and users that reported successful testing

(cherry picked from commit 03083c3139)
pull/75684/head
Brian Coca 3 years ago committed by GitHub
parent 9437c6f465
commit 7425bf093d
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