xen service: fix wrong netmask handed out by xen-bridge.service
The dnsmasq instance run by the xen-bridge.service errorenously
hands out 172.16.0.0 as the netmask over DHCP to the VMs. This
commit removes the option responsible for that from dnsmasq.conf,
so that the proper netmask is inferred by dnsmasq instead.
Addresses https://github.com/NixOS/nixpkgs/issues/19883
commitfc3eed2cb01825d8024a535b8129ec0eeb0b1b84
authorMichał Pałka <michal.palka@chalmers.se>
dateWed 26 Oct 2016, 16:26 (10 years ago)
parent63bf567
nixos/modules/virtualisation/xen-dom0.nix+1−1
@@ -324,7 +324,7 @@ in
324324 domain-needed
325325 dhcp-hostsfile=/var/run/xen/dnsmasq.etherfile
326326 dhcp-authoritative
327− dhcp-range=$XEN_BRIDGE_IP_RANGE_START,$XEN_BRIDGE_IP_RANGE_END,$XEN_BRIDGE_NETWORK_ADDRESS
327+ dhcp-range=$XEN_BRIDGE_IP_RANGE_START,$XEN_BRIDGE_IP_RANGE_END
328328 dhcp-no-override
329329 no-ping
330330 dhcp-leasefile=/var/run/xen/dnsmasq.leasefile