Try to make noderes.nfsserver optional for Red Hat installs. We'll go to the same logic as used for stateless config files...

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-11-15 19:29:16 +00:00
parent 4fdc6b5850
commit b547001868

View File

@ -1098,19 +1098,13 @@ sub mkinstall
# 'serialport', 'serialspeed', 'serialflow'
# ]
# );
unless ($ent and $ent->{nfsserver})
{
$callback->(
{
error => ["No noderes.nfsserver defined for " . $node],
errorcode => [1]
}
);
next;
}
my $instserver='!myipfn!'; #default to autodetect from boot server
if ($ent and $ent->{nfsserver}) {
$instserver=$ent->{nfsserver};
}
my $kcmdline =
"ks=http://"
. $ent->{nfsserver}
"instserver=$instserver ks=http://"
. $instserver
. "/install/autoinst/"
. $node;
if ($maxmem) {