Hitachi PMR fix - swapnfs is not available when paging resource is changed.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@10380 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sjing
2011-08-29 03:04:33 +00:00
parent 1687f84f1a
commit 5610770c7e
+10 -2
View File
@@ -370,8 +370,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);