diff options
| author | Joey Hess <joeyh@joeyh.name> | 2018-02-26 16:59:21 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2018-02-26 16:59:21 -0400 |
| commit | 3e1d8b6b6cbbb4d9560fb0d2ea1aec22e5f19239 (patch) | |
| tree | 93b76d2857a2f50aa7ca08fd092f2fb6392d58f0 | |
| parent | 010e89a8c87996858849b3830d30187a1429ea5e (diff) | |
propellor spin
| -rw-r--r-- | src/Propellor/Property/SiteSpecific/JoeySites.hs | 3 |
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") |
