mirror of https://github.com/apache/cloudstack.git
removing the minor version number for comparisions for Xenserver 6.0
This commit is contained in:
parent
b1bb0afad4
commit
a560ec3001
|
|
@ -53,7 +53,7 @@ def getvncport(session, args):
|
|||
path1 = "/local/domain/" + domid + "/qemu-pid"
|
||||
path2 = "/local/domain/" + domid + "/console/vnc-port"
|
||||
else:
|
||||
if version == '6.0.0':
|
||||
if version[:3] == '6.0':
|
||||
path1 = "/local/domain/" + domid + "/vncterm-pid"
|
||||
path2 = "/local/domain/" + domid + "/console/vnc-port"
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue