Ignore:
Timestamp:
Mar 6, 2010, 7:04:37 PM (14 years ago)
Author:
sebas@…
Message:

agregamos la funcionalidad para generar nombre a las maquinas basado en su mac address

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/puppet/modules/puppet-dnsmasq/templates/my.dnsmasq.conf.erb

    r536 r557  
    3131<% end -%>
    3232
    33 <% if read_ethers != 'absent' -%>
    34 # Dnsmasq will read /etc/ethers and act
    35 # on the ethernet-address/IP pairs found there just as if they had
    36 # been given as --dhcp-host options. Useful if you keep
    37 # MAC-address/host mappings there for other purposes.
    38 read-ethers
     33<% if dhcp_script != 'absent' -%>
     34# Run an executable when a DHCP lease is created or destroyed.
     35# The arguments sent to the script are "add" or "del",
     36# then the MAC address, the IP address and finally the hostname
     37# if there is one.
     38dhcp-script=<%= dhcp_script %>
    3939<% end -%>
    4040
Note: See TracChangeset for help on using the changeset viewer.