temporary fix for bug 3484822: configure xcataixscript resource as NFSv3
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
2ea6192c9a
commit
d3e172bd03
@ -7856,14 +7856,15 @@ sub prenimnodeset
|
||||
|
||||
# define the xcataixscript resource
|
||||
my $dcmd;
|
||||
if ($::NFSv4)
|
||||
{
|
||||
$dcmd = qq~/usr/sbin/nim -o define -t script -a server=master -a nfs_vers=4 -a location=$install_dir/nim/scripts/xcataixscript xcataixscript 2>/dev/null~;
|
||||
}
|
||||
else
|
||||
{
|
||||
# TODO: xcataixscript is having problem with NFSv4, will be fixed in the next AIX release
|
||||
#if ($::NFSv4)
|
||||
#{
|
||||
# $dcmd = qq~/usr/sbin/nim -o define -t script -a server=master -a nfs_vers=4 -a location=$install_dir/nim/scripts/xcataixscript xcataixscript 2>/dev/null~;
|
||||
#}
|
||||
#else
|
||||
#{
|
||||
$dcmd = qq~/usr/sbin/nim -o define -t script -a server=master -a location=$install_dir/nim/scripts/xcataixscript xcataixscript 2>/dev/null~;
|
||||
}
|
||||
#}
|
||||
$out =
|
||||
xCAT::InstUtils->xcmd($callback, $subreq, "xdsh", $nimprime,
|
||||
$dcmd, 0);
|
||||
@ -7876,7 +7877,8 @@ sub prenimnodeset
|
||||
return (1);
|
||||
}
|
||||
} else {
|
||||
if ($::NFSv4) {
|
||||
# TODO: xcataixscript is having problem with NFSv4, will be fixed in the next AIX release
|
||||
if (0 && $::NFSv4) {
|
||||
my $cmd = qq~/usr/sbin/lsnim -Z -a nfs_vers xcataixscript 2>/dev/null~;
|
||||
my @result = xCAT::Utils->runcmd("$cmd", -1);
|
||||
if ($::RUNCMD_RC != 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user