2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-10 06:41:31 +00:00

fix for bug 4678: rnetboot should still work without gateway

This commit is contained in:
ligc
2015-05-24 22:26:18 -04:00
parent dfb5132d84
commit 3c7305c779

View File

@ -1016,12 +1016,9 @@ sub resolve_netwk {
next;
}
$gateway_ip = @$ip[1];
} else {
# If the <xcatmaster> is the gateway, the ip forwarding must be enabled on the MN/SN,
# xCAT will setup the ipforarding automatically, but still see problems about the ip forwarding occassionally.
send_msg( $request, 1, "$_: No gateway defined for this node, check the networks table. If the gateway in the networks table is '<xcatmaster>', check the ip forwarding setup on the management node and service nodes.");
next;
}
}
# Without gateway, rnetboot should still work
my $netmask = $nethash{$_}{mask};
if ( !defined( $netmask )) {