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:
jbjohnso 2013-01-16 18:29:44 +00:00
parent 5c077303c7
commit 9fe02e2e3a

View File

@ -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";