Friday, 10 April 2015

Automated Installations of Multiple RHEL/CentOS 7 Distributions using PXE Server and Kickstart Files STEP By STEP

Step 1: Create and Copy Kiskstart File to FTP Server Path

1. On the first step go to your PXE machine /root directory and copy the file named anaconda-ks.cfg to Vsftpd default server path (/var/ftp/pub) – also the path for RHEL/CentOS 7 Local Mirror Installation Source configured on PXE network Boot Server – Step 6 (refer PXE Server setup article above).
# cp anaconda-ks.cfg  /var/ftp/pub/
# chmod 755 /var/ftp/pub/anaconda-ks.cfg
 
 
2. After the file has been copied, open it with your favorite text editor and make the following minimal changes.
# nano /var/ftp/pub/anaconda-ks.cfg
  1. Replace –url filed with your network installation source location: Ex: –url=ftp://192.168.1.25/pub/
  2. Replace network –bootproto with dhcp in case you have manually configured network interfaces on installation process.
An excerpt on how a Kickstart file might look like is presented below.

No comments:

Post a Comment