This repository was archived by the owner on Jan 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-38
lines changed Expand file tree Collapse file tree 2 files changed +2
-38
lines changed Original file line number Diff line number Diff line change @@ -52,25 +52,7 @@ function execute_scripts {
5252
5353case " $1 " in
5454" start" )
55- CONTEXT_DEV=` blkid -l -t LABEL=" CONTEXT" -o device`
56- if [ -e " $CONTEXT_DEV " ]; then
57- mount -t iso9660 -L CONTEXT -o ro /mnt
58- if [ -f /mnt/context.sh ]; then
59- export_rc_vars /mnt/context.sh
60- fi
61-
62- execute_scripts
63-
64- umount /mnt
65- else
66- if type vmtoolsd ; then
67- vmtoolsd --cmd ' info-get guestinfo.opennebula.context' | openssl base64 -d > /tmp/context.sh
68- export_rc_vars /tmp/context.sh
69- fi
70-
71- execute_scripts
72- fi
73- ;;
55+ /usr/sbin/one-contextd start
7456
7557esac
7658
Original file line number Diff line number Diff line change @@ -52,25 +52,7 @@ function execute_scripts {
5252
5353case " $1 " in
5454" start" )
55- CONTEXT_DEV=` blkid -l -t LABEL=" CONTEXT" -o device`
56- if [ -e " $CONTEXT_DEV " ]; then
57- mount -t iso9660 -L CONTEXT -o ro /mnt
58- if [ -f /mnt/context.sh ]; then
59- export_rc_vars /mnt/context.sh
60- fi
61-
62- execute_scripts
63-
64- umount /mnt
65- else
66- if type vmtoolsd ; then
67- vmtoolsd --cmd ' info-get guestinfo.opennebula.context' | openssl base64 -d > /tmp/context.sh
68- export_rc_vars /tmp/context.sh
69- fi
70-
71- execute_scripts
72- fi
73- ;;
55+ /usr/sbin/one-contextd start
7456
7557esac
7658
You can’t perform that action at this time.
0 commit comments