]> git.proxmox.com Git - pve-cluster.git/commitdiff
allow full-mesh routed setup for cluster join
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Nov 2019 14:38:10 +0000 (15:38 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Nov 2019 14:38:10 +0000 (15:38 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/Cluster/Setup.pm

index 7b3bc313b5f55d457c7622cb112d261d79ceea7a..f8638851dfd99f6df37b2d0c4663eefa4e3c1737 100644 (file)
@@ -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');