]> git.proxmox.com Git - pve-cluster.git/blobdiff - data/PVE/CLI/pvecm.pm
pvecm: pass correct nodename to finish_join
[pve-cluster.git] / data / PVE / CLI / pvecm.pm
index fe099d47c3445bbd6a28b399b2023523d57e771d..107c4cbdb4ef585a7d1ba905c1329b3de05d950c 100755 (executable)
@@ -439,7 +439,7 @@ __PACKAGE__->register_method ({
                my $corosync_conf = PVE::Tools::file_get_contents("$tmpdir/corosync.conf");
                my $corosync_authkey = PVE::Tools::file_get_contents("$tmpdir/authkey");
 
-               PVE::Cluster::Setup::finish_join($host, $corosync_conf, $corosync_authkey);
+               PVE::Cluster::Setup::finish_join($nodename, $corosync_conf, $corosync_authkey);
            };
            my $err = $@;