Fix export of /tftpboot and /install

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-03-04 19:35:59 +00:00
parent 97be78448a
commit 9d9284307f

View File

@ -126,7 +126,7 @@ sub setup_NFS
if ($::RUNCMD_RC != 0)
{ # need to add to export list
my $cmd =
"echo '$installdir *(rw,no_root_squash,sync)' >> /etc/exports";
"echo '$installdir *(ro,no_root_squash,sync)' >> /etc/exports";
xCAT::Utils->runcmd($cmd, -1);
if ($::RUNCMD_RC != 0)
{ # error
@ -138,7 +138,7 @@ sub setup_NFS
if ($::RUNCMD_RC != 0)
{ # need to add to export list
my $cmd =
"echo '$tftpdir *(rw,root_squash,sync)' >> /etc/exports";
"echo '$tftpdir *(ro,root_squash,sync)' >> /etc/exports";
xCAT::Utils->runcmd($cmd, -1);
if ($::RUNCMD_RC != 0)
{ # error