Added support for PXE boot configuration

This commit is contained in:
Steven Barth 2008-10-17 16:20:01 +00:00
parent 87efdcc59d
commit 24fdb77e8e
6 changed files with 32 additions and 2 deletions

View file

@ -162,6 +162,9 @@ dhcp_dnsmasq_ednspacket_max = '<abbr title="maximal">max.</abbr> <abbr title="Ex
dhcp_dnsmasq_dhcpleasemax = '<abbr title="maximal">max.</abbr> <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr>-Leases' dhcp_dnsmasq_dhcpleasemax = '<abbr title="maximal">max.</abbr> <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr>-Leases'
dhcp_dnsmasq_addnhosts = 'additional hostfile' dhcp_dnsmasq_addnhosts = 'additional hostfile'
dhcp_dnsmasq_queryport = 'query port' dhcp_dnsmasq_queryport = 'query port'
dhcp_dnsmasq_enabletftp = 'Enable TFTP-Server'
dhcp_dnsmasq_tftproot = 'TFTP-Server Root'
dhcp_dnsmasq_dhcpboot = 'Network Boot Image'
a_n_switch = 'Switch' a_n_switch = 'Switch'
a_n_conntrack = 'Active Connections' a_n_conntrack = 'Active Connections'
a_n_conntrack_desc = 'This page gives an overview over currently active network connections.' a_n_conntrack_desc = 'This page gives an overview over currently active network connections.'

View file

@ -166,6 +166,9 @@
<i18n:msg xml:id="dhcp_dnsmasq_dhcpleasemax"><abbr title="maximal">max.</abbr> <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr>-Leases</i18n:msg> <i18n:msg xml:id="dhcp_dnsmasq_dhcpleasemax"><abbr title="maximal">max.</abbr> <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr>-Leases</i18n:msg>
<i18n:msg xml:id="dhcp_dnsmasq_addnhosts">additional hostfile</i18n:msg> <i18n:msg xml:id="dhcp_dnsmasq_addnhosts">additional hostfile</i18n:msg>
<i18n:msg xml:id="dhcp_dnsmasq_queryport">query port</i18n:msg> <i18n:msg xml:id="dhcp_dnsmasq_queryport">query port</i18n:msg>
<i18n:msg xml:id="dhcp_dnsmasq_enabletftp">Enable TFTP-Server</i18n:msg>
<i18n:msg xml:id="dhcp_dnsmasq_tftproot">TFTP-Server Root</i18n:msg>
<i18n:msg xml:id="dhcp_dnsmasq_dhcpboot">Network Boot Image</i18n:msg>
<i18n:msg xml:id="a_n_switch">Switch</i18n:msg> <i18n:msg xml:id="a_n_switch">Switch</i18n:msg>
<i18n:msg xml:id="a_n_conntrack">Active Connections</i18n:msg> <i18n:msg xml:id="a_n_conntrack">Active Connections</i18n:msg>
<i18n:msg xml:id="a_n_conntrack_desc">This page gives an overview over currently active network connections.</i18n:msg> <i18n:msg xml:id="a_n_conntrack_desc">This page gives an overview over currently active network connections.</i18n:msg>

View file

@ -180,6 +180,9 @@ dhcp_dnsmasq_resolvfile = 'Resolvdatei'
dhcp_dnsmasq_resolvfile_desc = 'Lokale DNS-Datei' dhcp_dnsmasq_resolvfile_desc = 'Lokale DNS-Datei'
dhcp_dnsmasq_strictorder = 'Strikte Reihenfolge' dhcp_dnsmasq_strictorder = 'Strikte Reihenfolge'
dhcp_dnsmasq_strictorder_desc = 'DNS-Server werden strikt der Reihenfolge in der Resolvdatei nach abgefragt' dhcp_dnsmasq_strictorder_desc = 'DNS-Server werden strikt der Reihenfolge in der Resolvdatei nach abgefragt'
dhcp_dnsmasq_enabletftp = 'TFTP-Server aktivieren'
dhcp_dnsmasq_tftproot = 'TFTP-Server Wurzelverzeichnis'
dhcp_dnsmasq_dhcpboot = 'Netzwerk-Boot Abbild'
file = 'Datei' file = 'Datei'
frag = 'Frag.' frag = 'Frag.'
frequency = 'Frequenz' frequency = 'Frequenz'

View file

@ -184,6 +184,9 @@
<i18n:msg xml:id="dhcp_dnsmasq_resolvfile_desc">Lokale DNS-Datei</i18n:msg> <i18n:msg xml:id="dhcp_dnsmasq_resolvfile_desc">Lokale DNS-Datei</i18n:msg>
<i18n:msg xml:id="dhcp_dnsmasq_strictorder">Strikte Reihenfolge</i18n:msg> <i18n:msg xml:id="dhcp_dnsmasq_strictorder">Strikte Reihenfolge</i18n:msg>
<i18n:msg xml:id="dhcp_dnsmasq_strictorder_desc">DNS-Server werden strikt der Reihenfolge in der Resolvdatei nach abgefragt</i18n:msg> <i18n:msg xml:id="dhcp_dnsmasq_strictorder_desc">DNS-Server werden strikt der Reihenfolge in der Resolvdatei nach abgefragt</i18n:msg>
<i18n:msg xml:id="dhcp_dnsmasq_enabletftp">TFTP-Server aktivieren</i18n:msg>
<i18n:msg xml:id="dhcp_dnsmasq_tftproot">TFTP-Server Wurzelverzeichnis</i18n:msg>
<i18n:msg xml:id="dhcp_dnsmasq_dhcpboot">Netzwerk-Boot Abbild</i18n:msg>
<i18n:msg xml:id="file">Datei</i18n:msg> <i18n:msg xml:id="file">Datei</i18n:msg>
<i18n:msg xml:id="frag">Frag.</i18n:msg> <i18n:msg xml:id="frag">Frag.</i18n:msg>
<i18n:msg xml:id="frequency">Frequenz</i18n:msg> <i18n:msg xml:id="frequency">Frequenz</i18n:msg>

View file

@ -82,14 +82,12 @@ config variable
option section 'dhcp.dnsmasq' option section 'dhcp.dnsmasq'
option title 'Leasefile' option title 'Leasefile'
option description 'file where given DHCP-leases will be stored' option description 'file where given DHCP-leases will be stored'
option datatype file
config variable config variable
option name 'resolvfile' option name 'resolvfile'
option section 'dhcp.dnsmasq' option section 'dhcp.dnsmasq'
option title 'Resolvfile' option title 'Resolvfile'
option description 'local DNS file' option description 'local DNS file'
option datatype file
config variable config variable
option name 'nohosts' option name 'nohosts'
@ -152,6 +150,23 @@ config variable
option title 'query port' option title 'query port'
option datatype port option datatype port
config variable
option name 'enable_tftp'
option section 'dhcp.dnsmasq'
option title 'Enable builtin TFTP-Server'
option datatype boolean
config variable
option name 'tftp_root'
option section 'dhcp.dnsmasq'
option title 'TFTP-Server root directory'
option datatype directory
config variable
option name 'dhcp_boot'
option section 'dhcp.dnsmasq'
option title 'DHCP Boot image'
config section config section
option name 'dhcp' option name 'dhcp'

View file

@ -38,5 +38,8 @@ s:option(Value, "ednspacket_max").optional = true
s:option(Value, "dhcpleasemax").optional = true s:option(Value, "dhcpleasemax").optional = true
s:option(Value, "addnhosts").optional = true s:option(Value, "addnhosts").optional = true
s:option(Value, "queryport").optional = true s:option(Value, "queryport").optional = true
s:option(Flag, "enable_tftp").optional = true
s:option(Value, "tftp_root").optional = true
s:option(Value, "dhcp_boot").optional = true
return m return m