mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	fix for NFSv4 support, in hiarachy env
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6350 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -6881,10 +6881,6 @@ sub mkdsklsnode | ||||
|  | ||||
|         # define the node | ||||
|         my $defcmd = "/usr/sbin/nim -o define -t $type "; | ||||
|         if ($::NFSV4) | ||||
|         { | ||||
|             $defcmd .= "-a nfs_vers=4 "; | ||||
|         } | ||||
|         if ($::NEWNAME) | ||||
|         { | ||||
|             $defcmd .= "-a if1='find_net $nodeshorthost 0' "; | ||||
| @@ -7820,8 +7816,15 @@ sub make_SN_resource | ||||
|                       dirname(dirname($lochash{$imghash{$image}{$restype}})); | ||||
|                     chomp $loc; | ||||
|  | ||||
|                     my $spotcmd = | ||||
|                       "/usr/lpp/bos.sysmgt/nim/methods/m_mkspot -o -a server=master -a location=$loc -a source=no $imghash{$image}{$restype}"; | ||||
|                     my $spotcmd; | ||||
|                     if ($::NFSV4) | ||||
|                     {  | ||||
|                       $spotcmd = "/usr/lpp/bos.sysmgt/nim/methods/m_mkspot -o -a server=master -a location=$loc -a nfs_vers=4 -a source=no $imghash{$image}{$restype}"; | ||||
|                     }  | ||||
|                     else | ||||
|                     { | ||||
|                         $spotcmd = "/usr/lpp/bos.sysmgt/nim/methods/m_mkspot -o -a server=master -a location=$loc -a source=no $imghash{$image}{$restype}";  | ||||
|                     } | ||||
|  | ||||
|                     if ($::VERBOSE) | ||||
|                     { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user