Fixing bug 3568357: Overwrite the swapnfs tmp file instead of append it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13845 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
84b1fb6a79
commit
254643a5c7
@ -7143,6 +7143,10 @@ sub update_dd_boot
|
||||
$l =~ s/tmp\/swapnfs/swapnfs/g;
|
||||
print DDBOOT $l;
|
||||
print DDBOOT "\n rm -f /swapnfs\n";
|
||||
}
|
||||
elsif ($l =~ /echo "CuDv:" >> \/swapnfs/ )
|
||||
{
|
||||
print DDBOOT "echo \"CuDv:\" > /swapnfs\n";
|
||||
} else {
|
||||
if ($l =~ /tmp\/swapnfs/)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user