| 46 | === Creating a New Machine Type === |
| 47 | |
| 48 | All gLite machines types use a common base configuration, described in [source:templates/trunk/grid/glite-3.1/machine-types/base.tpl machine-types/base.tpl]. This templates is responsible in particular to do the base OS configuration, VO configuration and NFS configuration. |
| 49 | |
| 50 | When creating a new machine type derived from this gLite base machine types, it is necessary, at '''the very end''' of the new machine type, to include the gLite update and postconfig templates, using the following PAN statement: |
| 51 | {{{ |
| 52 | # gLite updates |
| 53 | include { 'update/config' }; |
| 54 | |
| 55 | # Do any final OS configuration needed |
| 56 | include { return(GLITE_OS_POSTCONFIG) }; |
| 57 | }}} |
| 58 | |
| 59 | Without gLite OS postconfig template, `machine-types/base.tpl` is not expected to compile succesfully. |
| 60 | |