user otherpkgs to install xCATsn on the service node

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2009-07-22 18:55:53 +00:00
parent 82bb449056
commit 1a71e22953
2 changed files with 4 additions and 17 deletions

View File

@ -57,6 +57,7 @@
<package>bind</package>
<package>perl-Expect</package>
<package>perl-SNMP</package>
<package>dhcp-server</package>
</packages>
</software>
</install>

View File

@ -74,24 +74,10 @@ else
if ( -f "/etc/SuSE-release") { #special case for SLES11
&runcmd("rpm -e perl-doc"); #perl-doc conflicts with perl-Version which will be installed
}
&runcmd("rpm -ivh /xcatpost/xcat/RPMS/*/*.rpm");
my $osver=$ENV{'OSVER'};
my $arch=$ENV{'ARCH'};
&runcmd("OTHERPKGS=xcat/core-snap/xCATsn,xcat/xcat-dep/$osver/$arch/conserver /xcatpost/otherpkgs");
}
#if ($ENV{'NODESETSTATE'} eq "install")
#{
# $msg = "Installing xCAT";
# `logger -t xcat $msg`;
# if(-f "/etc/SuSE-release") {
## # `pkill -9 y2base`;
# $msg = "xCATsn for SuSE";
# `logger -t xCAT $msg`;
#$msg=`zypper ar -t plaindir file:/xcatpost/xcat/RPMS xcatsn > /root/dbg.log 2>&1`;
#`logger -t xCAT "$msg"`;
#`zypper install -y xCAT-server xCAT-client perl-xCAT perl-DBD-mysql xCATsn vsftpd perl-IO-Socket-SSL`;
#`rpm -ivh /xcatpost/xcat/RPMS/*.rpm`;
# }else {
# &runcmd("rpm -ivh /xcatpost/xcat/RPMS/*/*.rpm");
#}
#}
&runcmd("/opt/xcat/sbin/copycerts");
}