diff options
| author | Martin Schwenke <martin@meltin.net> | 2009-04-20 20:50:39 +1000 |
|---|---|---|
| committer | Martin Schwenke <martin@meltin.net> | 2009-04-20 20:50:39 +1000 |
| commit | c2af28ede7fb843ff3d1216c5507b61621851249 (patch) | |
| tree | d16109ac1ea7b8726374cec085b7daec2c6055f9 /base/root/scripts/nsd_server_common.bash | |
| parent | 696317eeaabc71b239ab52fba162f7fcb601563f (diff) | |
Add support for template file variables within templates.
Templates can now contain "indirect variables" surrounded in 3 '@'
symbols, such as @@@VAR@@@. Such variables are assumed to contain
filenames referring to templates whose contents should be substituted.
These can nest up to 10 levels. Previously adding similar variables
required a code change because they were handled as special cases.
Remove setup_indirects() function. Now use @@@YUM_TEMPLATE@@@ in
basic-postinstall.sh, @@@POSTINSTALL_TEMPLATE@@@ (rather than
intermediate @@EXTRA_POSTINSTALL@@) in kickstart templates and new
variable @@@STANDARD_POSTINSTALL@@@ (rather than manufactured
@@AUTOCLUSTER_POSTINSTALL@@) also in kickstart templates. Move
definition of SHAREDDISKSIZE back to 00base.defconf and add new
variable SHAREDDISK_TEMPLATE that is used in the standard node
template node.xml.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'base/root/scripts/nsd_server_common.bash')
0 files changed, 0 insertions, 0 deletions
