From 6913c2862312b78f7f9c22e6e13cff1e6b4422de Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 10 Dec 2018 16:27:39 -0400 Subject: propellor spin --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Propellor') diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index 05b0b041..6087336d 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -1034,12 +1034,16 @@ homePower user hosts ctx sshkey = propertyList "home power" $ props rsynccommand = "rsync -e 'ssh -i" ++ sshkeyfile ++ "' -avz rrds/ joey@kitenet.net:/srv/web/homepower.joeyh.name/rrds/" homerouterWifiInterface :: String -homerouterWifiInterface = "wlx7cdd90400448" -- wifi dongle +homerouterWifiInterface = "wlx00c0ca82eb78" -- thinkpenguin wifi adapter + +homerouterWifiInterfaceOld :: String +homerouterWifiInterfaceOld = "wlx7cdd90400448" -- small wifi dongle -- My home router, running hostapd and dnsmasq, -- with eth0 connected to a satellite modem, and a fallback ppp connection. homeRouter :: Property (HasInfo + DebianLike) homeRouter = propertyList "home router" $ props + & File.notPresent (Network.interfaceDFile homerouterWifiInterfaceOld) & Network.static homerouterWifiInterface (IPv4 "10.1.1.1") Nothing `requires` Network.cleanInterfacesFile & Apt.installed ["hostapd"] -- cgit v1.2.3