Changes between Version 111 and Version 112 of Doc/gLite/TemplateCustomization


Ignore:
Timestamp:
Nov 30, 2008, 8:49:52 AM (17 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/gLite/TemplateCustomization

    v111 v112  
    4444The following sections describe specific variables that can be used with each machine type. The machine type template to include is specified at the beginning of the section as ''Base template''. In addition, to get more details, you can look at [source:templates/clusters/example-3.1/profiles examples].
    4545
     46=== Creating a New Machine Type ===
     47
     48All 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
     50When 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
     53include { 'update/config' };
     54
     55# Do any final OS configuration needed
     56include { return(GLITE_OS_POSTCONFIG) };
     57}}}
     58
     59Without gLite OS postconfig template, `machine-types/base.tpl` is not expected to compile succesfully.
     60 
    4661
    4762== Site Information ==