Changeset 12418 for trunk


Ignore:
Timestamp:
01/20/11 16:34:38 (13 years ago)
Author:
ramonb
Message:

gina/dhcpd.cmt:

  • no install nodes in dhcpd.conf
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sara_cmt/templates/gina/dhcpd.cmt

    r12417 r12418  
    9494    {% noblanklines %}
    9595    {% for iface in ifaces_gina_admin %}
     96      {% if not 'administration' in iface.host.roles %}
     97
    9698    host {{iface.fqdn}} {
    9799        hardware ethernet {{iface.hwaddress}};
     
    99101        option host-name "{{iface.fqdn}}";
    100102    }
     103
     104      {% endif %}
    101105    {% endfor %}
    102106    {% endnoblanklines %}
     
    108112    {% noblanklines %}
    109113    {% for iface in ifaces_gina_console %}
     114      {% if not 'administration' in iface.host.roles %}
     115
    110116    host {{iface.fqdn}} {
    111117        hardware ethernet {{iface.hwaddress}};
     
    113119        option host-name "{{iface.fqdn}}";
    114120    }
     121
     122      {% endif %}
    115123    {% endfor %}
    116124    {% endnoblanklines %}
     
    122130    {% noblanklines %}
    123131    {% for iface in ifaces_gina_productie %}
     132      {% if not 'administration' in iface.host.roles %}
     133
    124134    host {{iface.fqdn}} {
    125135        hardware ethernet {{iface.hwaddress}};
     
    127137        option host-name "{{iface.fqdn}}";
    128138    }
     139
     140      {% endif %}
    129141    {% endfor %}
    130142    {% endnoblanklines %}
Note: See TracChangeset for help on using the changeset viewer.