fickit: Reenable dhcpd on admin

This commit is contained in:
nemunaire 2022-06-08 00:06:39 +02:00
parent cdc342bea3
commit a7dda3a999

View File

@ -269,18 +269,18 @@ services:
runtime: runtime:
mkdir: mkdir:
- /var/lib/fic/outofsync - /var/lib/fic/outofsync
# - name: dhcp-server - name: dhcp-server
# image: joebiellik/dhcpd image: joebiellik/dhcpd
# binds: binds:
# - /etc/dhcp/dhcpd.conf:/etc/dhcp/dhcpd.conf:ro - /etc/dhcp/dhcpd.conf:/etc/dhcp/dhcpd.conf:ro
# capabilities: capabilities:
# - CAP_NET_BIND_SERVICE - CAP_NET_BIND_SERVICE
# - CAP_NET_RAW - CAP_NET_RAW
# - CAP_DAC_OVERRIDE - CAP_DAC_OVERRIDE
# net: /run/netns/fic-admin net: /run/netns/fic-admin
# pid: new pid: new
# ipc: new ipc: new
# uts: new uts: new
files: files:
- path: etc/init.d/001-hostname - path: etc/init.d/001-hostname
@ -338,9 +338,9 @@ files:
default-lease-time 600; default-lease-time 600;
max-lease-time 7200; max-lease-time 7200;
option subnet-mask 255.255.255.0; option subnet-mask 255.255.255.0;
option broadcast-address 192.168.23.255; option broadcast-address 192.168.49.255;
subnet 192.168.23.0 netmask 255.255.255.0 { subnet 192.168.49.0 netmask 255.255.255.0 {
range 192.168.23.10 192.168.23.250; range 192.168.49.11 192.168.49.250;
} }
mode: "0440" mode: "0440"
- path: etc/iptables/rules.v6 - path: etc/iptables/rules.v6