diff --git a/xCAT/templates/mypostscript/mypostscript.tmpl b/xCAT/templates/mypostscript/mypostscript.tmpl index 4cce4eb5b..63cf33efe 100755 --- a/xCAT/templates/mypostscript/mypostscript.tmpl +++ b/xCAT/templates/mypostscript/mypostscript.tmpl @@ -13,10 +13,21 @@ ENABLESSHBETWEENNODES=#Subroutine:xCAT::Template::enablesshbetweennodes:$NODE# export ENABLESSHBETWEENNODES +## tabdump() is used to get all the information in the table +## The only could be non-"node key" table and two keys table, such as networks, passwd. +## 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 "||" . +## 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. +tabdump(networks) NODE=$NODE export NODE + ## nfsserver,installnic,primarynic,routenames from the noderes tab NFSSERVER=#TABLE:noderes:$NODE:nfsserver# export NFSSERVER