From 9aa954458f81e812e83561f0dff752305da484fa Mon Sep 17 00:00:00 2001 From: ligc Date: Mon, 14 Jan 2013 07:22:47 +0000 Subject: [PATCH] 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 --- xCAT-server/sbin/xcatconfig | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/xCAT-server/sbin/xcatconfig b/xCAT-server/sbin/xcatconfig index 819f7262e..b3405b3c6 100755 --- a/xCAT-server/sbin/xcatconfig +++ b/xCAT-server/sbin/xcatconfig @@ -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")