#
# From: Athmane Madjoudj <athmanem@gmail.com>
#
install
cdrom
text
lang en_US.UTF-8
keyboard us
network --device eth0 --bootproto dhcp 
rootpw --iscrypted $1$xy2FVzz2$423MK3eTO0t2gZ5LmN7hn.
firewall --enabled --port=22:tcp,80:tcp,443:tcp,25:tcp
timezone --utc UTC
authconfig --enableshadow --enablemd5
selinux --permissive
bootloader --location=mbr 
clearpart --all --initlabel
autopart

%packages
@base
@core
keyutils
trousers
fipscheck
device-mapper-multipath

%post 
echo "Installing a basic LAMP with Postfix"
yum -y install httpd mod_ssl mysql-server php php-mysql postfix
yum -y remove sendmail
chkconfig httpd on
chkconfig mysqld on
service httpd start
service mysqld start
