Hitachi PMR fix - swapnfs is not available when paging resource is chaged.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
210befa753
commit
496c97c6c5
@ -386,8 +386,16 @@ if ($inet6support) {
|
||||
|
||||
plugin_command(\%request,undef,\&build_response);
|
||||
close($conn);
|
||||
}
|
||||
|
||||
} elsif ($text =~ /basecustremv/) {
|
||||
|
||||
$text =~ s/basecustremv //;
|
||||
chomp $text;
|
||||
# remove the BASECUST_REMOVAL line from /tftpboot/hostname.info file
|
||||
my $myfile = "/tftpboot/$text" . ".info";
|
||||
`/usr/bin/cat $myfile | /usr/bin/sed "/BASECUST_REMOVAL/d">/tmp/$text.nimtmp`;
|
||||
`/usr/bin/mv /tmp/$text.nimtmp $myfile`;
|
||||
close($conn);
|
||||
}
|
||||
alarm(2);
|
||||
}
|
||||
alarm(0);
|
||||
|
Loading…
Reference in New Issue
Block a user