Misc changes

This commit is contained in:
David Parsons 2016-08-29 19:29:53 +01:00
parent bd2ba6e9d1
commit 1fa12078cd

View File

@ -368,7 +368,8 @@ def main():
vmx_stats = vmx_path + 'vmx-stats' vmx_stats = vmx_path + 'vmx-stats'
vmx_so = True vmx_so = True
vmwarebase = '' vmwarebase = ''
libvmkctl = vmx_path + 'libvmkctl.so' libvmkctl32 = vmx_path + 'lib/libvmkctl.so'
libvmkctl64 = vmx_path + 'lib64/libvmkctl.so'
elif osname == 'windows': elif osname == 'windows':
reg = ConnectRegistry(None, HKEY_LOCAL_MACHINE) reg = ConnectRegistry(None, HKEY_LOCAL_MACHINE)
@ -402,7 +403,14 @@ def main():
print 'Patching vmwarebase is not required on this system' print 'Patching vmwarebase is not required on this system'
if osname == 'vmkernel': if osname == 'vmkernel':
patchvmkctl(libvmkctl) # Patch ESXi 6.0 and 6.5 32 bit .so
patchvmkctl(libvmkctl32)
# Try and patch ESXi 6.5 64 bit .so
try:
patchvmkctl(libvmkctl64)
except IOError:
pass
if __name__ == '__main__': if __name__ == '__main__':