From 1b4ce46fa0f6eb57768558f57b268e38890fbaf5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 31 Aug 2016 17:40:08 -0400 Subject: propellor spin --- joeyconfig.hs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/joeyconfig.hs b/joeyconfig.hs index 588adfe3..c1b2bee4 100644 --- a/joeyconfig.hs +++ b/joeyconfig.hs @@ -468,15 +468,21 @@ keysafe = host "keysafe.joeyh.name" $ props -- This is a 500 mb VM, so need more ram to build propellor. & Apt.serviceInstalledRunning "swapspace" & Cron.runPropellor (Cron.Times "30 * * * *") - & Apt.installed ["openssh-server", "etckeeper", "sudo"] + & Apt.installed ["etckeeper", "sudo"] + & User.hasSomePassword (User "root") & User.accountFor (User "joey") & User.hasSomePassword (User "joey") & Sudo.enabledFor (User "joey") + + & Ssh.installed & Ssh.randomHostKeys + & User "root" `Ssh.authorizedKeysFrom` (User "joey", darkstar) & User "joey" `Ssh.authorizedKeysFrom` (User "joey", darkstar) & Ssh.noPasswords + & Tor.installed + iabak :: Host iabak = host "iabak.archiveteam.org" $ props & ipv4 "124.6.40.227" -- cgit v1.2.3