gh-5: Get information from vmware tools if context cd is not found

Used with vcenter driver
pull/6/head
Javi Fontan 10 years ago
parent c597eb451c
commit d04590e74d

@ -62,6 +62,11 @@ case "$1" in
umount /mnt umount /mnt
else else
if type vmtoolsd ; then
vmtoolsd --cmd 'info-get guestinfo.opennebula.context' | openssl base64 -d > /tmp/context.sh
export_rc_vars /tmp/context.sh
fi
execute_scripts execute_scripts
fi fi
;; ;;

Loading…
Cancel
Save