mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-07 16:54:19 +00:00
Revert "vncproxy: wait max 10s for the socket if it does not exist"
This reverts commit 58504d5edf
.
The patch only works if the VM is on local host.
This commit is contained in:
parent
60635a5733
commit
bb1e32937a
@ -1110,9 +1110,6 @@ __PACKAGE__->register_method({
|
|||||||
my $realcmd = sub {
|
my $realcmd = sub {
|
||||||
my $upid = shift;
|
my $upid = shift;
|
||||||
|
|
||||||
my $c = 0;
|
|
||||||
while ( ++$c < 10 && !-e "/var/run/qemu-server/$vmid.vnc" ) { sleep(1); }
|
|
||||||
|
|
||||||
syslog('info', "starting vnc proxy $upid\n");
|
syslog('info', "starting vnc proxy $upid\n");
|
||||||
|
|
||||||
my $qmcmd = [@$remcmd, "/usr/sbin/qm", 'vncproxy', $vmid];
|
my $qmcmd = [@$remcmd, "/usr/sbin/qm", 'vncproxy', $vmid];
|
||||||
|
Loading…
Reference in New Issue
Block a user