Have SLES plugin implement the same install server default as new RedHat behavior

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-11-21 16:14:12 +00:00
parent 3e0404673b
commit 2855558c34

View File

@ -757,23 +757,18 @@ sub mkinstall
);
my $sent =
$hmtab->getNodeAttribs($node, ['serialport', 'serialspeed', 'serialflow']);
unless ($ent and $ent->{nfsserver})
my $netserver = '!myipfn!';
if ($ent and $ent->{nfsserver})
{
$callback->(
{
error => ["No noderes.nfsserver for $node defined"],
errorcode => [1]
}
);
next;
$netserver = $ent->{nfsserver};
}
my $kcmdline =
"autoyast=http://"
. $ent->{nfsserver}
. $netserver
. "$installroot/autoinst/"
. $node
. " install=http://"
. $ent->{nfsserver}
. $netserver
. "$pkgdir/1";
my $netdev = "";