From 53ab64c8199427444611c60cde802efea2bdd167 Mon Sep 17 00:00:00 2001 From: billwajda Date: Wed, 2 Jan 2013 19:45:36 +0000 Subject: [PATCH] added nic attributes git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/templates/mypostscript/mypostscript.tmpl | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/xCAT/templates/mypostscript/mypostscript.tmpl b/xCAT/templates/mypostscript/mypostscript.tmpl index fc5dee52d..b50c59f8c 100755 --- a/xCAT/templates/mypostscript/mypostscript.tmpl +++ b/xCAT/templates/mypostscript/mypostscript.tmpl @@ -18,7 +18,7 @@ export ENABLESSHBETWEENNODES ## And also couldn't be log related tables. ## The site table is used so frequent that the couldn't be the site table. ## And if the key is the node, you should use #TABLE...# instead of tabdump(). -## And each attribute=value pair will be delimited by '||' . +## And each attribute=value pair will be delimited by "||" . ## We may put special characters in the comments attribute. ## So the comments attribute will be put as the last in the list, ## and the parsing should be more carefull. @@ -125,6 +125,28 @@ export MACADDRESS ## GATEWAY=9.114.34.108 ## +# NIC related attributes for the node for confignics postscript +NICNODE=#TABLE:nics:$NODE:node# +export NICNODE + +NICIPS=#TABLE:nics:$NODE:nicips# +export NICIPS + +NICHOSTNAMESUFFIXES=#TABLE:nics:$NODE:nichostnamesuffixes# +export NICHOSTNAMESUFFIXES + +NICTYPES=#TABLE:nics:$NODE:nictypes# +export NICTYPES + +NICCUSTOMSCRIPTS="#TABLE:nics:$NODE:niccustomscripts#" +export NICCUSTOMSCRIPTS + +NICNETWORKS=#TABLE:nics:$NODE:nicnetworks# +export NICNETWORKS + +#NICCOMMENTS=#TABLE:nics:$NODE:comments# +#export NICCOMMENTS + ## ## Notice: The following flag postscripts-start-here could not be deleted from the template!!!