2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

(#4913) clear cache before run 'nodeset <> next' to avoid using the old IP address

after IP address is modified.
This commit is contained in:
Bin Xu 2018-03-27 15:12:21 +08:00
parent b1bb88d640
commit 372756a6ad

View File

@ -469,6 +469,8 @@ sub do_installm_service {
alarm(0);
print $conn "done\n";
$text =~ s/\r//g;
# Clear IP-Name cache, Workaround (#4913) for IP changed cases.
xCAT::NetworkUtils->clearcache();
if ($text =~ /next/) {
my %request = (
command => ['nodeset'],