mirror of https://github.com/apache/cloudstack.git
CS-16323 : 2.2.15 with Xen 6.0.2 : Console View for VMs is not working
Updated plugin code to handle XS 6.0.2 Reviewed-by: Abhi
This commit is contained in:
parent
3d9a1c83fa
commit
27cb53537f
|
|
@ -52,7 +52,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