Updated Branches: refs/heads/master b3e2871e7 -> 9d857c036
fix xenserver 6.1 and 6.2 can not open vnc console Signed-off-by: Abhinandan Prateek <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9d857c03 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9d857c03 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9d857c03 Branch: refs/heads/master Commit: 9d857c03623ae4851d96c7303d4c3df002104fe1 Parents: b3e2871 Author: hongtu_zang <[email protected]> Authored: Fri Jul 12 17:26:47 2013 +0800 Committer: Abhinandan Prateek <[email protected]> Committed: Fri Jul 12 16:35:17 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/9d857c03/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:
