diff --git a/base/etc/init.d/vmcontext b/base/etc/init.d/vmcontext index 1e020a6..63ef1d5 100755 --- a/base/etc/init.d/vmcontext +++ b/base/etc/init.d/vmcontext @@ -62,6 +62,11 @@ case "$1" in umount /mnt 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 fi ;;