Add flag for appliance use to recognize static addressing modes not yet supported in xCAT mainline

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2013-03-28 18:30:59 +00:00
parent 5795765011
commit d5ab1780ab

View File

@ -487,6 +487,8 @@ sub kickstartnetwork {
my $ulaaddr = autoulaaddress($suffix);
$hoststab->setNodeAttribs($node,{ip=>$ulaaddr});
$line .= $ulaaddr;
} elsif ($::XCATSITEVALS{managedaddressmode} =~ /static/) {
return "#KSNET static unsupported";
} else {
$line .= "dhcp --device=$suffix";
}