Skip to content

Commit a560ec3

Browse files
author
abhi
committed
removing the minor version number for comparisions for Xenserver 6.0
1 parent b1bb0af commit a560ec3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • scripts/vm/hypervisor/xenserver

scripts/vm/hypervisor/xenserver/vmops

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def getvncport(session, args):
5353
path1 = "/local/domain/" + domid + "/qemu-pid"
5454
path2 = "/local/domain/" + domid + "/console/vnc-port"
5555
else:
56-
if version == '6.0.0':
56+
if version[:3] == '6.0':
5757
path1 = "/local/domain/" + domid + "/vncterm-pid"
5858
path2 = "/local/domain/" + domid + "/console/vnc-port"
5959
else:

0 commit comments

Comments
 (0)