[RESOLVED]Unable to perform un-attend installation using customized bootable iso file

Latest response

I followed the steps from this link How to create a minimal bootable media with Kickstart file in it for Red Hat Enterprise Linux 6? on test machine and could not get it done successfully. With the customized bootable image, i could get the first graphical screen, after which I hit enter key to install, it prompts back with option to select keyboard, so it is not reading the answer stored in "ks.cfg" which is built in the bootable image file.

Here is what my ks.cfg file looks:

install
url --url http://192.168.1.100/rhel67
lang en_US.UTF-8
keyboard us
network --onboot yes --device eth0 --bootproto static --ip 192.168.1.110 --netmask 255.255.255.0 --gateway 192.168.1.1 --noipv6
rootpw  --iscrypted $6$/q08oGGDPneWfCST$rxyzDcAXOATEfHOZeQQvZNft9rTZgN26G/fpz1GfHKLP4yBhWUWOOssMwykA7RFgtNQdwOCk.tPvzrzv2pUgu.
reboot
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc Asia/Kolkata
bootloader --location=mbr --driveorder=sda --append="crashkernel=auto 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
zerombr
clearpart --all 

#boot partition is of size 800MB
#swap size of 1000MB
#PV created for volumegroup for root and other file systems

part /boot --fstype=ext4 --size=800
part pv.01 --size=15356
#part pv.02 --ondrive=sdb --size=1000 --grow
part swap --size=1000

volgroup vg_rhel67 pv.01
#volgroup vg_data pv.02

logvol /home --fstype=ext4 --name=homelv --vgname=vg_rhel67 --size=2000
logvol /tmp --fstype=ext4 --name=tmplv --vgname=vg_rhel67 --size=1000
logvol /usr --fstype=ext4 --name=usrlv --vgname=vg_rhel67 --size=2500
logvol /var --fstype=ext4 --name=varlv --vgname=vg_rhel67 --size=6000
logvol / --fstype=ext4 --name=rootlv --vgname=vg_rhel67 --size=3000 --grow
#logvol /data --fstype=ext4 --name=datalv --vgname=vg_data --size=500 --grow

%packages
@Desktop
@Fonts
@General Purpose Desktop
@Internet Browser
@Printing client
@X Window System
binutils
gcc
kernel-devel
make
patch
python
vsftpd
%end

##Disabling NetworkManager
%post
for nic in $(grep -l NM_CONTROLLED.*yes /etc/sysconfig/network-scripts/ifcfg-*) 
do
sed -i 's/NM_CONTROLLED=.*/NM_CONTROLLED=\"no\"/' $nic
done

/usr/bin/yum remove NetworkManager -y 2>&1 > /dev/null
%end

Everything looks good and no error in the process, but booting a new vm with the image file doesn't perform automated instillation, it prompts for user input.

Initially, i tried this on RHEL6.7, i mean created "linuxboot.iso" file and tested which failed to perform un-attend installation. I tried all these steps by downloading rhel 6.5 boot image and no success either.

I also tried to create boot image with kickstart file integrated using the "isolinux" files found within the installation ISO image, but no luck. Unable to make this un-attended installation.

Responses