nfsv4 support, add -o vers=4 to mount commands if site.useNFSv4onAIX is set
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
749767e711
commit
fb778348c4
@ -347,7 +347,15 @@ sub mountdb2code
|
||||
{ # not mounted
|
||||
|
||||
# need to mount the directory
|
||||
my $cmd = "mount $server:$::installloc $::installloc";
|
||||
my $cmd;
|
||||
if ($ENV{'USENFSV4ONAIX'} && ($ENV{'USENFSV4ONAIX'} =~ /1|Yes|yes|YES|Y|y/))
|
||||
{
|
||||
$cmd = "mount -o vers=4 $server:$::installloc $::installloc";
|
||||
}
|
||||
else
|
||||
{
|
||||
$cmd = "mount $server:$::installloc $::installloc";
|
||||
}
|
||||
$rc = &runcmd($cmd);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user