added the chkconfig nfs and httpd on and fixed mkrpm to copy xcat.conf http config.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@33 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
a27d244c84
commit
ac08846b6c
@ -2,6 +2,7 @@ cd `dirname $0`
|
||||
tar --exclude .svn -czvf postscripts.tar.gz postscripts LICENSE.html
|
||||
tar --exclude .svn -czvf templates.tar.gz templates
|
||||
mv -f *.gz /usr/src/redhat/SOURCES
|
||||
cp xcat.conf /usr/src/redhat/SOURCES
|
||||
rpmbuild -ba xCAT.spec
|
||||
cd -
|
||||
|
||||
|
@ -63,6 +63,7 @@ if [ "$1" = "1" ]; then #Only if installing for the fist time..
|
||||
if ! grep /install /etc/exports; then
|
||||
echo '/install *(ro,no_root_squash,sync)' >> /etc/exports #SECURITY: this has potential for sharing private host/user keys
|
||||
service nfs restart
|
||||
chkconfig nfs on
|
||||
fi
|
||||
if [ ! -r /etc/xcat/site.sqlite ]; then
|
||||
chtab key=xcatdport site.value=3001
|
||||
@ -95,6 +96,7 @@ if [ "$1" = "1" ]; then #Only if installing for the fist time..
|
||||
makenetworks
|
||||
chtab key=nameservers site.value=`grep nameserver /etc/resolv.conf|awk '{printf $2 ","}'|sed -e s/,$//`
|
||||
service httpd restart
|
||||
chkconfig httpd on
|
||||
echo "xCAT is now installed, it is recommended to tabedit networks and set a dynamic ip address range on any networks where nodes are to be discovered"
|
||||
echo "Then, run makedhcp -n to create a new dhcpd.configuration file, and /etc/init.d/dhcpd restart"
|
||||
echo "Either examine sample configuration templates, or write your own, or specify a value per node with nodeadd or tabedit."
|
||||
|
Loading…
Reference in New Issue
Block a user