Skip to content

Commit a20fd1d

Browse files
committed
revert escaping vnc and descriptions since ssh backend is only for cloud-init
1 parent 939cce0 commit a20fd1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proxstar/vm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def start_vnc(self, port):
182182
proxmox = connect_proxmox()
183183
port = str(int(port) - 5900)
184184
proxmox.nodes(self.node).qemu(self.id).monitor.post(
185-
command="change\ vnc\ 127.0.0.1:{}".format(port))
185+
command="change vnc 127.0.0.1:{}".format(port))
186186

187187
def eject_iso(self):
188188
proxmox = connect_proxmox()
@@ -230,7 +230,7 @@ def create_vm(proxmox, user, name, cores, memory, disk, iso):
230230
ide2="{},media=cdrom".format(iso),
231231
net0='virtio,bridge=vmbr0',
232232
pool=user,
233-
description='Managed\ by\ Proxstar')
233+
description='Managed by Proxstar')
234234
retry = 0
235235
while retry < 5:
236236
try:
@@ -251,7 +251,7 @@ def clone_vm(proxmox, template_id, name, pool):
251251
name=name,
252252
pool=pool,
253253
full=1,
254-
description='Managed\ by\ Proxstar',
254+
description='Managed by Proxstar',
255255
target=target)
256256
retry = 0
257257
while retry < 60:

0 commit comments

Comments
 (0)