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:
parent
b1bb88d640
commit
372756a6ad
@ -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'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user