CLOUDSTACK-5821 systemvmiso is locked by systevmvm in hyperv

(cherry picked from commit 7ac48934f7)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rajesh Battala 2014-01-28 06:42:54 +05:30 committed by Rohit Yadav
parent 4d24452334
commit 3622471099
1 changed files with 5 additions and 1 deletions

View File

@ -135,7 +135,7 @@ get_boot_params() {
virtualpc|hyperv)
# Hyper-V is recognized as virtualpc hypervisor type. Boot args are passed using KVP Daemon
#waiting for the hv_kvp_daemon to start up
#sleep 30 need to fix the race condition of hv_kvp_daemon and cloud-early-config
#sleep need to fix the race condition of hv_kvp_daemon and cloud-early-config
sleep 5
cp -f /var/opt/hyperv/.kvp_pool_0 /var/cache/cloud/cmdline
cat /dev/null > /var/opt/hyperv/.kvp_pool_0
@ -1250,6 +1250,10 @@ start() {
patch_log4j
parse_cmd_line
change_password
if [ "$hyp" == "hyperv" ]; then
# eject the systemvm.iso
eject
fi
case $TYPE in
router)
[ "$NAME" == "" ] && NAME=router