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:
parent
7aabf03e2c
commit
60741454d0
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user