fix defect 2791833 installloc site attribute not being parsed correctly for mount on Service Nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d07e4f6e5c
commit
e59c5f3c48
@ -285,7 +285,7 @@ sub mountInstall
|
||||
my $rc = 0;
|
||||
my $installdir = "/install"; # default
|
||||
my $installloc = "/install"; # default
|
||||
|
||||
my $newinstallloc;
|
||||
# read DB for nodeinfo
|
||||
my $master;
|
||||
my $os;
|
||||
@ -308,10 +308,11 @@ sub mountInstall
|
||||
{
|
||||
if (grep /:/, $installlocation[0])
|
||||
{
|
||||
my ($hostname, $installloc) = split ":", $installlocation[0];
|
||||
my ($hostname, $newinstallloc) = split ":", $installlocation[0];
|
||||
if ($hostname)
|
||||
{ # hostname set in /installloc attribute
|
||||
$master = $hostname; # set name for mount
|
||||
$installloc = $newinstallloc; #set path for mount point
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user