summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
diff options
context:
space:
mode:
authorJoey Hess2018-02-26 16:59:21 -0400
committerJoey Hess2018-02-26 16:59:21 -0400
commit3e1d8b6b6cbbb4d9560fb0d2ea1aec22e5f19239 (patch)
tree93b76d2857a2f50aa7ca08fd092f2fb6392d58f0 /src/Propellor/Property
parent010e89a8c87996858849b3830d30187a1429ea5e (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Property')
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs3
1 files changed, 2 insertions, 1 deletions
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")