Signed-off-by: Thomas Lamprecht <[email protected]>
---
data/PVE/CLI/pvecm.pm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/data/PVE/CLI/pvecm.pm b/data/PVE/CLI/pvecm.pm
index 6afb866..dd92dbc 100755
--- a/data/PVE/CLI/pvecm.pm
+++ b/data/PVE/CLI/pvecm.pm
@@ -144,9 +144,8 @@ __PACKAGE__->register_method ({
PVE::Cluster::ssh_merge_known_hosts($nodename, $local_ip_address, 1);
- run_command('systemctl restart pve-cluster'); # restart
-
- run_command('systemctl restart corosync'); # restart
+ print "Start corosync and restart cluster filesystem\n";
+ run_command(['systemctl', 'restart', 'corosync', 'pve-cluster']);
return undef;
}});
--
2.11.0
_______________________________________________
pve-devel mailing list
[email protected]
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel