From: Thomas Lamprecht Date: Tue, 26 Nov 2019 14:38:10 +0000 (+0100) Subject: allow full-mesh routed setup for cluster join X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=5a06080cdac0e54c01775e0a01650f21ca1c88f3;p=pve-cluster.git allow full-mesh routed setup for cluster join Signed-off-by: Thomas Lamprecht --- diff --git a/data/PVE/Cluster/Setup.pm b/data/PVE/Cluster/Setup.pm index 7b3bc31..f863885 100644 --- a/data/PVE/Cluster/Setup.pm +++ b/data/PVE/Cluster/Setup.pm @@ -617,8 +617,8 @@ sub assert_joinable { my $cidr = (Net::IP::ip_is_ipv6($ip)) ? "$ip/128" : "$ip/32"; my $configured_ips = PVE::Network::get_local_ip_from_cidr($cidr); - $error->("$logid: cannot use IP '$ip', it must be configured exactly once on local node!\n") - if (scalar(@$configured_ips) != 1); + $error->("$logid: cannot use IP '$ip', not found on local node!\n") + if scalar(@$configured_ips) < 1; }; $check_ip->($local_addr, 'local node address');