Replace $installroot with $install in a couple of URL specifications
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5c077303c7
commit
9fe02e2e3a
@ -1292,10 +1292,16 @@ sub mkinstall
|
||||
$instserver=$ent->{nfsserver};
|
||||
}
|
||||
|
||||
my $httpprefix=$pkgdir;
|
||||
if ($installroot =~ /\/$/) {
|
||||
$httpprefix =~ s/^$installroot/\/install\//;
|
||||
} else {
|
||||
$httpprefix =~ s/^$installroot/\/install/;
|
||||
}
|
||||
my $kcmdline =
|
||||
"quiet repo=$httpmethod://$instserver:$httpport$pkgdir ks=$httpmethod://"
|
||||
. $instserver . ":". $httpport
|
||||
. "$installroot/autoinst/"
|
||||
. "/install/autoinst/"
|
||||
. $node;
|
||||
if ($maxmem) {
|
||||
$kcmdline.=" mem=$maxmem";
|
||||
|
Loading…
Reference in New Issue
Block a user