diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/PVE/API2/Network/SDN.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PVE/API2/Network/SDN.pm b/src/PVE/API2/Network/SDN.pm index f129d60..33ecfb7 100644 --- a/src/PVE/API2/Network/SDN.pm +++ b/src/PVE/API2/Network/SDN.pm @@ -86,9 +86,10 @@ my $create_reload_network_worker = sub { # FIXME: how to proxy to final node ? my $upid; + print "$nodename: reloading network config\n"; run_command(['pvesh', 'set', "/nodes/$nodename/network"], outfunc => sub { my $line = shift; - if ($line =~ /^["']?(UPID:[^\s"']+)["']?$/) { + if ($line =~ /["']?(UPID:[^\s"']+)["']?$/) { $upid = $1; } }); |
