summaryrefslogtreecommitdiff
path: root/unsorted/centosauto/var/www/html/kickstart.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'unsorted/centosauto/var/www/html/kickstart.cfg')
-rw-r--r--unsorted/centosauto/var/www/html/kickstart.cfg55
1 files changed, 55 insertions, 0 deletions
diff --git a/unsorted/centosauto/var/www/html/kickstart.cfg b/unsorted/centosauto/var/www/html/kickstart.cfg
new file mode 100644
index 0000000..5f39f02
--- /dev/null
+++ b/unsorted/centosauto/var/www/html/kickstart.cfg
@@ -0,0 +1,55 @@
+# Kickstart file automatically generated by anaconda.
+
+#version=DEVEL
+install
+url --url=http://192.168.1.12/Centos/6.5/os/x86_64
+lang en_US.UTF-8
+keyboard us
+network --onboot yes --device eth0 --bootproto dhcp --noipv6
+rootpw --iscrypted $6$M0aOpoXkLRTRzKcS$RPTbAk5YjUZR/JO1ClO9BWZU4KNkXXGOO/9yu2lrHMsfjgehv1Sg02dvhLQ3OzLBfIGggcZ7.2JRle4TJbdAU/
+firewall --service=ssh --port=5308:tcp
+authconfig --enableshadow --passalgo=sha512
+selinux --enforcing
+timezone --utc Europe/Zurich
+bootloader --location=mbr --driveorder=sda --append=" rhgb crashkernel=auto console=ttyS0,9600n81"
+
+zerombr
+clearpart --all --drives=sda --initlabel
+
+part / --label=ROOT --fstype=ext4 --size=1000
+part swap --label=SWAP --size=12
+#part /data --label=DATA --size=1012 --grow
+
+skipx
+cmdline
+
+repo --name="CentOS" --baseurl=http://192.168.1.12/Centos/6.5/os/x86_64 --cost=100
+
+reboot
+
+%packages --excludedocs --nobase
+@core
+wget
+%end
+
+%post
+exec < /dev/console > /dev/console
+#!/bin/bash
+cd /root
+wget -O /etc/yum.repos.d/CentOS-Base.repo http://192.168.1.12/CentOS-Base.repo
+rpm --import /etc/pki/rpm-gpg/*
+yum clean all
+yum update -y
+
+#mkdir /root/cfengine
+#cd /root/cfengine
+#wget -nd -r http://192.168.1.12/cfengine/{cfengine-community-3.5.1-3.x86_64.rpm,{failsafe,update}.cf}
+#yum localinstall -y cfengine-community-3.5.1-3.x86_64.rpm
+#cp -v {failsafe,update}.cf /var/cfengine/inputs/.
+#cd /root
+
+#/usr/local/sbin/cf-agent -B 192.168.1.12
+
+#/usr/local/sbin/cf-agent
+
+%end