CLOUDSTACK-5821 systemvmiso is locked by systevmvm in hyperv

(cherry picked from commit 7ac48934f77c3b9a72c05300163088a4c198ebf2)
Signed-off-by: Rohit Yadav <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/73895a5b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/73895a5b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/73895a5b

Branch: refs/heads/4.4
Commit: 73895a5bb661cb1f23b5cc7e02d3cb34750bd4aa
Parents: 1b135af
Author: Rajesh Battala <[email protected]>
Authored: Tue Jan 28 06:42:54 2014 +0530
Committer: Rohit Yadav <[email protected]>
Committed: Thu Dec 11 20:51:18 2014 +0530

----------------------------------------------------------------------
 systemvm/patches/debian/config/etc/init.d/cloud-early-config | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/73895a5b/systemvm/patches/debian/config/etc/init.d/cloud-early-config
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/config/etc/init.d/cloud-early-config 
b/systemvm/patches/debian/config/etc/init.d/cloud-early-config
index 11fa7b3..aaa7a5c 100755
--- a/systemvm/patches/debian/config/etc/init.d/cloud-early-config
+++ b/systemvm/patches/debian/config/etc/init.d/cloud-early-config
@@ -1252,6 +1252,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

Reply via email to