fix for bug 3446: for SLES, do not add FW_DEV_EXT if there is only nic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
7dbd6aaf3e
commit
c06c616558
@ -102,7 +102,12 @@ elsif (-f "/etc/SuSE-release")
|
||||
my $privintf = join(' ', @privates);
|
||||
|
||||
# Configuration content
|
||||
$conf .= "FW_DEV_EXT=\"$::opt_public\"\n";
|
||||
# if the public and private interface is the same,
|
||||
# do not set FW_DEV_EXT
|
||||
if ($::opt_public ne $privintf)
|
||||
{
|
||||
$conf .= "FW_DEV_EXT=\"$::opt_public\"\n";
|
||||
}
|
||||
$conf .= "FW_DEV_INT=\"$privintf\"\n";
|
||||
$conf .= "FW_MASQUERADE=\"yes\"\n";
|
||||
$conf .= "FW_PROTECT_FROM_INT=\"no\"\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user