[pve-devel] [PATCH cluster v3 10/14] cluster create: restart corosync & pmxfs in one go and say so

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Dec 19 12:52:35 CET 2017


---

no changes

 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 bb2ee89..f82b0a4 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 "Restart corosync and cluster filesystem\n";
+	run_command('systemctl restart corosync pve-cluster'); # restart
 
 	return undef;
 }});
-- 
2.11.0





More information about the pve-devel mailing list