From 3d8c237a01bd318693ec7bd955c8bbf53c121097 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 27 Mar 2013 20:43:00 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/perl/xCAT/Template.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/perl/xCAT/Template.pm b/xCAT-server/lib/perl/xCAT/Template.pm index b307fc5de..72d6fbdd4 100644 --- a/xCAT-server/lib/perl/xCAT/Template.pm +++ b/xCAT-server/lib/perl/xCAT/Template.pm @@ -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"; }