summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-09-21 12:23:21 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-09-21 12:23:21 (GMT)
commitd9893a176e3d50b44a48d9cb21a5a6227753c18b (patch)
tree60ffdbcd0c71b97115112a98e9bc63d96ecf2404
parent66c36b3be12349532a818a7b7d165febe296c2df (diff)
downloadkolab-scripts-d9893a176e3d50b44a48d9cb21a5a6227753c18b.tar.gz
Add a specific manifest for a puppet bootstrap run
-rw-r--r--autoinstall/santiago-140-puppet.cfg54
1 files changed, 54 insertions, 0 deletions
diff --git a/autoinstall/santiago-140-puppet.cfg b/autoinstall/santiago-140-puppet.cfg
new file mode 100644
index 0000000..ce4e7c4
--- /dev/null
+++ b/autoinstall/santiago-140-puppet.cfg
@@ -0,0 +1,54 @@
+lang en_US.UTF-8
+keyboard us
+timezone --utc Europe/Zurich
+text
+skipx
+auth --useshadow --enablemd5
+selinux --permissive
+firewall --enabled
+firstboot --disabled
+zerombr
+clearpart --all --initlabel
+autopart
+rootpw --plaintext Welcome2KolabSystems
+bootloader --location=mbr
+services --enabled=NetworkManager --disabled=network
+
+network --hostname=kolab.example.org
+
+reboot
+
+repo --name=epel --baseurl=http://ftp.nluug.nl/os/Linux/distr/fedora-epel/6/x86_64/
+repo --name=updates --baseurl=http://ftp.nluug.nl/pub/os/Linux/distr/CentOS/6/updates/x86_64/
+
+%packages
+epel-release
+vim-enhanced
+# Add, or be without network
+NetworkManager
+%end
+
+%post
+# Set the default runlevel to 3
+# https://bugzilla.redhat.com/show_bug.cgi?id=440058
+sed -i -r -e 's/^id:[0-6]:initdefault:$/id:3:initdefault:/g' /etc/inittab
+
+# Insert SSH key
+mkdir -p /root/.ssh/
+cat >/root/.ssh/authorized_keys <<EOF
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCuYwrguPlzuOXUNV9AwtbduNy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DNBXfUcva/rzpyuXwv wickert@kolabsys.com
+EOF
+chmod 700 /root/.ssh
+chmod 600 /root/.ssh/authorized_keys
+
+cat >> /etc/yum.repos.d/kolab-14-koji-release.repo << EOF
+[kolab-14-koji]
+name = Kolab Enterprise 14 Packages from Koji
+baseurl = http://koji.kolabsys.com/static-repos/feature-el6-kolab-14-development-build/latest/\$basearch/
+gpgcheck = 0
+enabled = 0
+priority = 60
+EOF
+%end