summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
diff options
context:
space:
mode:
authorJoey Hess2017-07-29 23:15:13 -0400
committerJoey Hess2017-07-29 23:15:13 -0400
commit7a47024c79bf06b4b79b13f97831fd668b0d665d (patch)
tree24592da0f02860550db176bc41ab2c0de5541255 /src/Propellor/Property
parent8b1e077caff64fb6e538aebbb8f7c7d9deb4735a (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Property')
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs
index d686f3d9..a48ebf9c 100644
--- a/src/Propellor/Property/SiteSpecific/JoeySites.hs
+++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs
@@ -963,8 +963,7 @@ homeRouter = propertyList "home router" $ props
]
& ipmasq "wlan0"
& Apt.serviceInstalledRunning "netplug"
- & Network.static' "eth0" (IPv4 "192.168.1.42")
- (Just (Network.Gateway (IPv4 "192.168.1.1")))
+ & Network.dhcp' "eth0"
-- When satellite is down, fall back to dialup
[ ("pre-up", "poff -a || true")
, ("post-down", "pon")