# Kickstart file automatically generated by anaconda. install url --url=http://$IMGSVR/centos6/ lang en_US.UTF-8 keyboard us #xconfig --startxonboot --resolution=800x600 network --device eth0 --bootproto dhcp rootpw --iscrypted $6$Pkyc0snA$59/9Iy8DcYuXdWbmBb7SkQLzy0YXmgc3IEaA4Qqh/cC2YqEKUyllkuCHQZ1X8/w5tWPxopMUb7ZYqmysYtu6l1 firewall --enabled --port=22:tcp authconfig --enableshadow --enablemd5 selinux --permissive timezone --utc Asia/Kuala_Lumpur bootloader --location=mbr --driveorder=hda,sda --append="rhgb quiet" # The following is the partition information you requested # Note that any partitions you deleted are not expressed # here so unless you clear all partitions first, this is # not guaranteed to work clearpart --all part /boot --fstype ext3 --size=100 part swap --size=512 part / --fstype ext3 --size=100 --grow %packages @Base @Core @text-internet #dhcp #virt-manager python libvirt libvirt-devel curl curl-devel kvm ruby %post --log=/root/post-log /bin/mkdir /srv /bin/mkdir /srv/cloud #/bin/mkdir /srv/cloud/one #/bin/mkdir /srv/cloud/images /usr/sbin/groupadd cloud /usr/sbin/useradd -d /srv/cloud/one -g cloud -m oneadmin reboot