mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
Merge pull request #2098 from xcat2/revert-2067-xcatconfig_u
Revert "update dhcpd conf file when upgrade xcat"
This commit is contained in:
commit
5c6fb4e3a9
@ -1464,13 +1464,6 @@ sub initDB
|
||||
xCAT::MsgUtils->message('E', "Could not add default value for site.xcatsslversion.");
|
||||
}
|
||||
}
|
||||
|
||||
# Set dhcpd.conf be updated when update xcat
|
||||
my $cmds = "XCATBYPASS=Y $::XCATROOT/sbin/makedhcp -n 2>/dev/null";
|
||||
xCAT::Utils->runcmd("$cmds", -1);
|
||||
if ($::RUNCMD_RC != 0) {
|
||||
xCAT::MsgUtils->message('E', "Could not create a new dhcp configuration file.");
|
||||
}
|
||||
}
|
||||
|
||||
# remove xcatserver,xcatclient
|
||||
|
Loading…
x
Reference in New Issue
Block a user