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!!!