[pve-devel] [PATCH cluster] add missing package for 'remote_node_ip'

Dominik Csapak d.csapak at proxmox.com
Tue Apr 10 13:46:39 CEST 2018


without this, we would get perl errors when joining

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 data/PVE/CLI/pvecm.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/PVE/CLI/pvecm.pm b/data/PVE/CLI/pvecm.pm
index 23a15a9..3f0ac12 100755
--- a/data/PVE/CLI/pvecm.pm
+++ b/data/PVE/CLI/pvecm.pm
@@ -107,7 +107,7 @@ __PACKAGE__->register_method ({
 	my $nodename = PVE::INotify::nodename();
 
 	my $host = $param->{hostname};
-	my $local_ip_address = remote_node_ip($nodename);
+	my $local_ip_address = PVE::Cluster::remote_node_ip($nodename);
 
 	PVE::Cluster::assert_joinable($param->{ring0_addr}, $param->{ring1_addr}, $param->{force});
 
-- 
2.11.0





More information about the pve-devel mailing list