From 266cbceb19197d4dd2c95bd2c62c79d23ae95ef9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 26 Jul 2017 16:20:23 -0400 Subject: propellor spin --- joeyconfig.hs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'joeyconfig.hs') diff --git a/joeyconfig.hs b/joeyconfig.hs index be7b9ef0..fd477111 100644 --- a/joeyconfig.hs +++ b/joeyconfig.hs @@ -197,8 +197,10 @@ honeybee = host "honeybee.kitenet.net" $ props & Apt.serviceInstalledRunning "ntp" -- Home router - & Network.dhcp "eth0" `requires` Network.cleanInterfacesFile - -- todo configure wlan0 on ip 10.1.1.1 + & Network.dhcp "eth0" + `requires` Network.cleanInterfacesFile + & Network.static "wlan0" (IPv4 "10.1.1.1") Nothing + `requires` Network.cleanInterfacesFile & Apt.serviceInstalledRunning "hostapd" -- todo write hostapd.conf 1st & Apt.serviceInstalledRunning "dnsmasq" -- todo write dnsmasq.conf file & JoeySites.ipmasq "eth0" "wlan0" @@ -234,7 +236,7 @@ kite = host "kite.kitenet.net" $ props , (SshEd25519, "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFZftKMnH/zH29BHMKbcBO4QsgTrstYFVhbrzrlRzBO3") ] - & Network.static "eth0" `requires` Network.cleanInterfacesFile + & Network.preserveStatic "eth0" `requires` Network.cleanInterfacesFile & Apt.installed ["linux-image-amd64"] & Linode.serialGrub & Linode.mlocateEnabled -- cgit v1.3-2-g0d8e