From d5ab1780abad993ee3b38992fc32c75b7fae9eee Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 28 Mar 2013 18:30:59 +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/branches/2.8@15706 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"; }