cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aprat...@apache.org
Subject git commit: updated refs/heads/4.2 to 4836134
Date Fri, 12 Jul 2013 11:04:44 GMT
Updated Branches:
  refs/heads/4.2 9bc105f39 -> 483613431


fix xenserver 6.1 and 6.2 can not open vnc console

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>


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

Branch: refs/heads/4.2
Commit: 4836134313bea409232c3f70b62f298030817046
Parents: 9bc105f
Author: hongtu_zang <hongtu_zang@tcloudcomputing.com>
Authored: Fri Jul 12 17:26:47 2013 +0800
Committer: Abhinandan Prateek <aprateek@apache.org>
Committed: Fri Jul 12 16:34:22 2013 +0530

----------------------------------------------------------------------
 scripts/vm/hypervisor/xenserver/vmops | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/48361343/scripts/vm/hypervisor/xenserver/vmops
----------------------------------------------------------------------
diff --git a/scripts/vm/hypervisor/xenserver/vmops b/scripts/vm/hypervisor/xenserver/vmops
index 650e955..f8c0253 100755
--- a/scripts/vm/hypervisor/xenserver/vmops
+++ b/scripts/vm/hypervisor/xenserver/vmops
@@ -82,7 +82,7 @@ def getvncport(session, args):
         path1 = "/local/domain/" + domid + "/qemu-pid"
         path2 = "/local/domain/" + domid + "/console/vnc-port"
     else:
-        if version[:3] == '6.0':
+        if version[:3] == '6.0' or version[:3] == '6.1' or version[:3] == '6.2':
             path1 = "/local/domain/" + domid + "/vncterm-pid"
             path2 = "/local/domain/" + domid + "/console/vnc-port"
         else:


Mime
View raw message