mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-31 16:49:11 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user