moved dhcpd configuration to host templating

This commit is contained in:
Christian Goll
2022-02-15 12:14:57 +01:00
committed by jcsiadal
parent afc94ebd42
commit eeb062cf85
9 changed files with 29 additions and 129 deletions

View File

@@ -34,7 +34,6 @@ type DhcpConf struct {
RangeStart string `yaml:"range start"`
RangeEnd string `yaml:"range end"`
SystemdName string `yaml:"systemd name"`
ConfigFile string `yaml:"config file,omitempty"`
}
type TftpConf struct {

View File

@@ -19,7 +19,6 @@ func defaultConfig() *ControllerConf {
RangeStart: "192.168.200.50",
RangeEnd: "192.168.200.99",
SystemdName: "dhcpd",
ConfigFile: "/etc/dhcp/dhcpd.conf",
}
Tftp := &TftpConf{
Enabled: true,