fix error

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1074 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-04-15 19:44:32 +00:00
parent 51b33b53ba
commit e0b8c88da5

View File

@ -28,12 +28,11 @@ my $msg = "Removing OpenIPMI-tools";
$msg = "Removing tftp";
`logger -t xcat $msg`;
`rpm -e tftp-server`;
if [[ $NODESETSTATE = INSTALL]]
then
if ($ENV{'NODESETSTATE'} eq "install") {
$msg = "Installing xCAT";
`logger -t xcat $msg`;
`logger -t xcat $msg`;
`rpm -ivh /xcatpost/xcat/RPMS/*/*.rpm`;
fi
}
$msg = "copying certificates and restarting daemon";
`logger -t xcat $msg`;
`/opt/xcat/sbin/copycerts`;