diff --git a/xCAT/xCAT.spec b/xCAT/xCAT.spec index a90327701..b1b079b0b 100644 --- a/xCAT/xCAT.spec +++ b/xCAT/xCAT.spec @@ -110,6 +110,8 @@ fi if [ -d /install/postscripts/.xcat ]; then mv /install/postscripts/.xcat /install/postscripts/_xcat fi +chkconfig vsftpd on +/etc/rc.d/init.d/vsftpd start if [ "$1" = "1" ]; then #Only if installing for the fist time.. mkdir -p /root/.ssh chmod 700 /root/.ssh @@ -193,9 +195,6 @@ if [ "$1" = "1" ]; then #Only if installing for the fist time.. $RPM_INSTALL_PREFIX0/sbin/makenetworks XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/chtab key=nameservers site.value=`sed -e 's/#.*//' /etc/resolv.conf|grep nameserver|awk '{printf $2 ","}'|sed -e s/,$//` chkconfig httpd on - chkconfig vsftpd on - /etc/rc.d/init.d/vsftpd stop - /etc/rc.d/init.d/vsftpd start /etc/rc.d/init.d/httpd stop /etc/rc.d/init.d/httpd start 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"