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/trunk@15675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2013-03-27 20:43:00 +00:00
parent 5ac785b6f6
commit 3d8c237a01

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