fix defect 2977006 add no_subtree_check to exports on install

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2010-04-01 13:24:20 +00:00
parent 93e4f57a26
commit 94bedcd833

View File

@ -1580,7 +1580,7 @@ sub setupLinuxexports
# ok - then add this entry
#SECURITY: this has potential for sharing private host/user keys
my $cmd =
"/bin/echo '$::TFTPDIR *(rw,no_root_squash,sync)' >> /etc/exports";
"/bin/echo '$::TFTPDIR *(rw,no_root_squash,sync,no_subtree_check)' >> /etc/exports";
my $outref = xCAT::Utils->runcmd("$cmd", 0);
if ($::RUNCMD_RC != 0)
@ -1607,7 +1607,7 @@ sub setupLinuxexports
# ok - then add this entry
#SECURITY: this has potential for sharing private host/user keys
my $cmd =
"/bin/echo '$::INSTALLDIR *(rw,no_root_squash,sync)' >> /etc/exports";
"/bin/echo '$::INSTALLDIR *(rw,no_root_squash,sync,no_subtree_check)' >> /etc/exports";
my $outref = xCAT::Utils->runcmd("$cmd", 0);
if ($::RUNCMD_RC != 0)
{