Fix sles to deal with alt $installroot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14901 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
9fe02e2e3a
commit
b94a591227
@ -986,14 +986,20 @@ sub mkinstall
|
||||
{
|
||||
$netserver = $ent->{nfsserver};
|
||||
}
|
||||
my $httpprefix = $pkgdir;
|
||||
if ($installroot =~ /\/$/) { #must prepend /install/
|
||||
$httpprefix =~ s/^$installroot/\/install\//;
|
||||
} else {
|
||||
$httpprefix =~ s/^$installroot/\/install/;
|
||||
}
|
||||
my $kcmdline =
|
||||
"quiet autoyast=$httpmethod://"
|
||||
. $netserver . ":" . $httpport
|
||||
. "$installroot/autoinst/"
|
||||
. "/install/autoinst/"
|
||||
. $node
|
||||
. " install=$httpmethod://"
|
||||
. $netserver . ":" . $httpport
|
||||
. "$pkgdir/1";
|
||||
. "$httpprefix/1";
|
||||
|
||||
my $netdev = "";
|
||||
if ($ent->{installnic})
|
||||
|
Loading…
Reference in New Issue
Block a user