Exemple #1
0
	def _startVnc(self):
		vzctl.startVnc(self.host, self.getVmid(), self.getVncPort(), self.vncPassword())
Exemple #2
0
	def _startVnc(self):
		if not self.getVncPort():
			self._assignVncPort()		
		if self._vncRunning():
			return
		vzctl.startVnc(self.host, self.getVmid(), self.getVncPort(), self.vncPassword())