mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-19 17:50:20 +00:00
Check the NODESETSTATE before installing xcat rpms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1058 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@@ -28,9 +28,12 @@ my $msg = "Removing OpenIPMI-tools";
|
||||
$msg = "Removing tftp";
|
||||
`logger -t xcat $msg`;
|
||||
`rpm -e tftp-server`;
|
||||
$msg = "Installing xCAT";
|
||||
`logger -t xcat $msg`;
|
||||
`rpm -ivh /xcatpost/xcat/RPMS/*/*.rpm`;
|
||||
if [[ $NODESETSTATE = INSTALL]]
|
||||
then
|
||||
$msg = "Installing xCAT";
|
||||
`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`;
|
||||
|
Reference in New Issue
Block a user