move to setup dhcpd last
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2999 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
dfcd4b2fcb
commit
9b7532275d
@ -115,17 +115,6 @@ sub handled_commands
|
||||
|
||||
}
|
||||
|
||||
$service = "dhcpserver";
|
||||
if (grep(/$service/, @servicelist))
|
||||
{
|
||||
|
||||
$rc = &setup_DHCP($nodename); # setup DHCP
|
||||
if ($rc == 0)
|
||||
{
|
||||
xCAT::Utils->update_xCATSN($service);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$service = "ftpserver";
|
||||
if (grep(/$service/, @servicelist))
|
||||
@ -174,6 +163,8 @@ sub handled_commands
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
} # end Linux only
|
||||
|
||||
#
|
||||
@ -201,6 +192,23 @@ sub handled_commands
|
||||
}
|
||||
|
||||
}
|
||||
#
|
||||
# setup dhcp only on Linux and last
|
||||
#
|
||||
if (xCAT::Utils->isLinux()) {
|
||||
my $service = "dhcpserver";
|
||||
if (grep(/$service/, @servicelist))
|
||||
{
|
||||
|
||||
$rc = &setup_DHCP($nodename); # setup DHCP
|
||||
if ($rc == 0)
|
||||
{
|
||||
xCAT::Utils->update_xCATSN($service);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# done now in setupntp postinstall script, but may change
|
||||
#$service = "ntpserver";
|
||||
|
Loading…
Reference in New Issue
Block a user