mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	add mntopts to the litetree file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -1030,12 +1030,13 @@ sub dolitesetup | ||||
| 	my @treelist = xCAT::Utils->runcmd("/opt/xcat/bin/litetree $noderange", -1); | ||||
| 	if (scalar(@treelist) > 0) { | ||||
| 		foreach my $l (@treelist) { | ||||
| 			my ($p, $serv, $dir) = split (/:/, $l); | ||||
| 			my ($p, $serv, $dir, $mopts) = split (/:/, $l); | ||||
| 			$p =~ s/\s*//g; | ||||
| 			$serv =~ s/\s*//g; | ||||
| 			$dir =~ s/\s*//g; | ||||
| 			$mopts =~ s/\s*//g; | ||||
|         	my $serverIP = xCAT::NetworkUtils->getipaddr($serv); | ||||
| 			my $entry = "$p|$serverIP|$dir"; | ||||
| 			my $entry = "$p|$serverIP|$dir|$mopts"; | ||||
|         	print LITETREE $entry . "\n"; | ||||
| 			$foundstatelite++; | ||||
|     	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user