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