comment out the hardeths, problematic in several scenarios, hard to debug, MN ip should be configured manually or through DHCP

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14871 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2013-01-14 07:22:47 +00:00
parent 8846c95bea
commit 9aa954458f

View File

@ -441,15 +441,17 @@ if ($::INITIALINSTALL || $::FORCE)
}
# Configure static ip addresses on the network interfaces
if (-f "$::INSTALLDIR/postscripts/hardeths")
{
my $cmd = "$::INSTALLDIR/postscripts/hardeths";
my $outref = xCAT::Utils->runcmd("$cmd", 0);
if ($::RUNCMD_RC != 0)
{
xCAT::MsgUtils->message('E', "Failed to configure static ip addresses");
}
}
# This does not make too much sense, comment it out,
# should be done manually or through DHCP
#if (-f "$::INSTALLDIR/postscripts/hardeths")
#{
# my $cmd = "$::INSTALLDIR/postscripts/hardeths";
# my $outref = xCAT::Utils->runcmd("$cmd", 0);
# if ($::RUNCMD_RC != 0)
# {
# xCAT::MsgUtils->message('E', "Failed to configure static ip addresses");
# }
#}
# Setup ntp server
if (-f "/etc/ntp.conf")