From 3e1d8b6b6cbbb4d9560fb0d2ea1aec22e5f19239 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 26 Feb 2018 16:59:21 -0400 Subject: propellor spin --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index 8f0c6f62..0997401c 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -990,7 +990,8 @@ homeRouter = propertyList "home router" $ props `onChange` Service.restarted "dnsmasq" & ipmasq "wlan0" & Apt.serviceInstalledRunning "netplug" - & Network.dhcp' "eth0" + & Network.static' "eth0" (IPv4 "192.168.1.100") + (Just (Network.Gateway (IPv4 "192.168.1.1"))) -- When satellite is down, fall back to dialup [ ("pre-up", "poff -a || true") , ("post-down", "pon") -- cgit v1.2.3