From d82dfb12935d195cc9994b81271a142ec837de6c Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 21 Feb 2008 16:36:58 +0000 Subject: [PATCH] Add exportfs -a to make sure both the /install and /tftpboot dir are exported after they are added to the /etc/exports file. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/xCAT.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xCAT/xCAT.spec b/xCAT/xCAT.spec index b5d6594bf..b00cbb950 100644 --- a/xCAT/xCAT.spec +++ b/xCAT/xCAT.spec @@ -106,9 +106,10 @@ if [ "$1" = "1" ]; then #Only if installing for the fist time.. fi 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 + service nfs restart + chkconfig nfs on + exportfs -a if [ ! -r /etc/xcat/site.sqlite ]; then XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/chtab key=xcatdport site.value=3001 XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/chtab key=xcatiport site.value=3002