From 0ab0216d0b400fae78a6a6916ef9f82ed31dc0fa Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 29 Mar 2014 23:45:48 -0400 Subject: configure hostname etc --- Host/clam.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Host') diff --git a/Host/clam.hs b/Host/clam.hs index 53b349df..03448a82 100644 --- a/Host/clam.hs +++ b/Host/clam.hs @@ -2,13 +2,16 @@ import Property import qualified Property.Apt as Apt import qualified Property.Ssh as Ssh import qualified Property.User as User +import qualified Property.Hostname as Hostname import qualified Property.GitHome as GitHome import qualified Property.Reboot as Reboot main = defaultMain [ Apt.stdSourcesList Apt.Unstable `onChange` Apt.upgrade , Apt.installed ["etckeeper"] + , Hostname.set "clam.kitenet.net" , Apt.installed ["ssh"] + , Ssh.uniqueHostKeys , Apt.installed ["git", "myrepos"] , GitHome.installedFor "root" , check (Ssh.hasAuthorizedKeys "root") $ -- cgit v1.3-2-g0d8e