Mount /install rw

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@662 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-03-04 16:29:20 +00:00
parent 928124e77d
commit 7f5d0b74d3

View File

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