123456789101112131415161718192021222324252627282930 |
- %templates = (
- 'hostname' => '/etc/hostname',
- 'mailname' => '/etc/mailname',
- 'hosts' => '/etc/hosts',
- 'interfaces' => '/etc/network/interfaces',
- 'resolv.conf' => '/etc/resolv.conf',
- 'main.cf' => '/etc/postfix/main.cf',
- 'maps.cf' => '/etc/postfix/maps.cf',
- );
- %data = (
- hostname => 'template-squeeze',
- domain => 'srv.alt.tf',
- relayhost => 'smtp.alt.tf',
- resolv => {
- nameservers => ['192.168.248.153', 'fd00:6b64:f3b0:153::1'],
- search => 'alt.tf'
- },
- interfaces => [
- {
- name => 'eth0',
- ip => '192.168.42.7',
- netmask => '255.255.255.224',
- gateway => '192.168.42.1',
- ip6 => '2001:bc8:3283:2000::7',
- netmask6 => '64',
- gateway6 => '2001:bc8:3283:2000:ff::'
- }
- ]
- )
|