diff options
author | Sankar Tanguturi <stanguturi@vmware.com> | 2018-02-13 13:00:53 -0800 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2018-02-21 20:57:00 -0500 |
commit | 3814d559c3e973238d819721605c7451e852fe63 (patch) | |
tree | 2e5a815e84abc0bad12130bb3d59a12b76a3b6d0 /tools/ds-identify | |
parent | b7497e807fa12a26d4a12aaf1ee9302a4fd24728 (diff) | |
download | vyos-cloud-init-3814d559c3e973238d819721605c7451e852fe63.tar.gz vyos-cloud-init-3814d559c3e973238d819721605c7451e852fe63.zip |
OVF: Fix VMware support for 64-bit platforms.
On few 64-bit platforms, the open-vm-tools package is installed at
/usr/lib64/. The DataSourceOVF is changed to search look there for the
'customization plugin'
Diffstat (limited to 'tools/ds-identify')
-rwxr-xr-x | tools/ds-identify | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ds-identify b/tools/ds-identify index 5da51bcc..ec368d58 100755 --- a/tools/ds-identify +++ b/tools/ds-identify @@ -650,8 +650,9 @@ ovf_vmware_guest_customization() { # we have to have the plugin to do vmware customization local found="" pkg="" pre="${PATH_ROOT}/usr/lib" + local ppath="plugins/vmsvc/libdeployPkgPlugin.so" for pkg in vmware-tools open-vm-tools; do - if [ -f "$pre/$pkg/plugins/vmsvc/libdeployPkgPlugin.so" ]; then + if [ -f "$pre/$pkg/$ppath" -o -f "${pre}64/$pkg/$ppath" ]; then found="$pkg"; break; fi done |