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

Merge pull request #5015 from robin2008/install-monitor-cache

clear "name-IP" cache in `install monitor` process
This commit is contained in:
zet809 2018-03-27 17:59:07 +08:00 committed by GitHub
commit bc1de0529c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -481,6 +481,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'],