forked from kojak/kojak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcloud-ks.cfg
37 lines (32 loc) · 976 Bytes
/
cloud-ks.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#version=DEVEL
auth --enableshadow --passalgo=sha512
url --url http://mirror.centos.org/centos/6/os/x86_64/
firstboot --disable
ignoredisk --only-use=vda
lang en_US.UTF-8
keyboard us
network --hostname=cloud.example.com --bootproto=static --ip=192.168.122.3 --netmask=255.255.255.0 --gateway=192.168.122.1 --nameserver=192.168.122.1
rootpw --iscrypted $1$osxvII91$h0GUDy5ST6KMHKKX15ZFh.
selinux --enforcing
firewall --disabled
timezone America/New_York --isUtc
skipx
bootloader --location=mbr --driveorder=vda --append="crashkernel=auto rhgb quiet"
autopart
zerombr
clearpart --all --initlabel --drives=vda
reboot
%packages
@core
%end
### Running Kojak Post Install
%post --log=/root/kickstart.log
set -x
RELEASE=$(cat /etc/redhat-release)
LOG="/root/cloud.log"
TSTAMP=$(date '+_%Y%m%d%H%M%S')
echo -e "# 00. Installing base packages" >> ${LOG}
yum -y install git ruby bind
mkdir /root/workspace
git clone https://github.com/sbadakhc/kojak.git /root/workspace/kojak
%end