Kickstart Examples
Hi Readers, in this article I am going
to share with you some basic kickstart configuration files. Feel free to
try these config files in your set up.
My Set Up
I was using KVM on my Ubuntu machine to
play with PXE and Kickstart. I have set up a PXE server on CentOS 6.5
which has IP address 192.168.122.249. OS installation files are served
by vsftpd server in this machine. Change the IP address and other
settings as per your needs in the kickstart files mentioned in this
article.
Kickstart Examples
Kickstart File | Auto Install Details |
View Kickstart file | Networking: * Bootproto = dhcp * Hostname = centvm1 * Disable IPv6Partitioning: Simple paritioning * /boot – ext4 – size 500M * / – ext4 – size 5G * Swap – size 2G General: SELinux enabled Firewall rule added for SSH TimeZone – Europe/London CentOS Minimal – Core |
View Kickstart file | Networking: * Bootproto = dhcp * Hostname = centvm1 * Disable IPv6Partitioning: Simple paritioning * /boot – ext4 – size 500M * / – ext4 – size 5G * Swap – size 2G General: SELinux enabled Firewall rule added for SSH TimeZone – Europe/London CentOS Minimal – Core Add a new user named testuser |
View Kickstart file | Networking: * Bootproto = dhcp * Hostname = centvm1 * Disable IPv6Partitioning: * /boot –ext4 –size 500M LVM paritioning * Volume Group – size 7G * Logical volume – lv_root – size 5G * Logical volume – lv_swap – size 1.5G General: SELinux enabled Firewall rule added for SSH TimeZone – Europe/London CentOS Minimal – Core Add a new user named testuser |
View Kickstart file | Networking: * Bootproto = static * Hostname = centvm1 * IP = 192.168.122.200 * Netmask = 255.255.255.0 * Gateway = 192.168.122.1 * Nameserver = 192.168.122.1 * Disable IPv6Partitioning: * /boot –ext4 –size 500M LVM paritioning * Volume Group – size 7G * Logical volume – lv_root – size 5G * Logical volume – lv_swap – size 1.5G General: SELinux enabled Firewall rule added for SSH TimeZone – Europe/London CentOS Minimal – Core Add a new user named testuser |
View Kickstart file | Networking: * Bootproto = static * Hostname = centvm1 * IP = 192.168.122.200 * Netmask = 255.255.255.0 * Gateway = 192.168.122.1 * Nameserver = 192.168.122.1 * Disable IPv6Partitioning: * /boot –ext4 –size 500M LVM paritioning * Volume Group – size 7G * Logical volume – lv_root – size 5G * Logical volume – lv_swap – size 1.5G General: SELinux enabled Firewall rule added for SSH TimeZone – Europe/London CentOS Minimal – Core Add a new user named testuser Install httpd server Enable httpd on boot Start httpd service |
0 comments:
Post a Comment