remove xcatdefaults from the nodelist table on update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5867 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
908d54eebe
commit
e0358ec35c
@ -1158,6 +1158,19 @@ sub initDB
|
||||
verbose("Updated postscripts definition.");
|
||||
}
|
||||
}
|
||||
# remove any xcatdefaults node in nodelist
|
||||
# leave to cleanup from previous bug
|
||||
my $rmdefault="$::XCATROOT/sbin/chtab -d node=xcatdefaults nodelist";
|
||||
my $outref = xCAT::Utils->runcmd("$rmdefault", 0);
|
||||
if ($::RUNCMD_RC != 0)
|
||||
{
|
||||
xCAT::MsgUtils->message('E',
|
||||
"Could not remove xcatdefaults.");
|
||||
}
|
||||
else
|
||||
{
|
||||
verbose("Removed xcatdefaults.");
|
||||
}
|
||||
|
||||
}
|
||||
} # end initial DB install setup
|
||||
|
Loading…
Reference in New Issue
Block a user