def _startVnc(self): if not self.getVncPort(): self._assignVncPort() if self._vncRunning(): return qm.startVnc(self.host, self.getVmid(), self.getVncPort(), self.vncPassword())
def _startVnc(self): if not self.getVncPort(): self.host.takeId("port", self.setVncPort) qm.startVnc(self.host, self.getVmid(), self.getVncPort(), self.vncPassword())
def _startVnc(self): if not self.getVncPort(): self.setVncPort(self.host.nextFreePort()) qm.startVnc(self.host, self.getVmid(), self.getVncPort(), self.vncPassword())