mirror of https://github.com/apache/cloudstack.git
Add protection for VNC port with password on KVM.
This commit is contained in:
parent
643b3b5066
commit
bf73d755b0
|
|
@ -3300,7 +3300,9 @@ ServerResource {
|
|||
ConsoleDef console = new ConsoleDef("pty", null, null, (short) 0);
|
||||
devices.addDevice(console);
|
||||
|
||||
GraphicDef grap = new GraphicDef("vnc", (short) 0, true, null, null,
|
||||
//add the VNC port passwd here, get the passwd from the vmInstance.
|
||||
String passwd = vmTO.getVncPassword();
|
||||
GraphicDef grap = new GraphicDef("vnc", (short) 0, true, null, passwd,
|
||||
null);
|
||||
devices.addDevice(grap);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue