Centos Kickstart Installation Error
1 Attachment(s)
Dear All,
I am doing kickstart installation based on centos and getting installation error at the end of installation. It is throwing some exception for anaconda. If I agree with this exception and passed Ctrl+C to it it finishes installation and everything I passed in kick start file is installed perfectly. How can I remove the exception attached here. Following is my kick start file: ######################################## install text reboot # Use the cdrom for the package install cdrom lang en_US.UTF-8 keyboard us skipx # You'll need a DHCP server on the network for the new install to be reachable via SSH #network --device eth0 --bootproto dhcp --noipv6 network --device eth0 --bootproto static --ip 10.111.X.X --netmask 255.255.255.0 --gateway 10.111.X.X --nameserver 10.111.X.X --hostname test-system --noipv6 # Set the root password below !! Remember to change this once the install has completed !! rootpw testsystem # Enable iptables, but allow SSH from anywhere firewall --service=ssh authconfig --enableshadow --passalgo=sha512 selinux --disabled timezone --utc Asia/Karachi # Storage partitioning and formatting is below. We use LVM here. bootloader --location=mbr --driveorder=sda --append=" rhgb creashkernel=auto quiet" zerombr clearpart --all part /boot --fstype=ext4 --size=500 part /data --fstype=ext4 --size=4096 part swap --size=1024 part / --fstype=ext4 --grow --size=1000 # Defines the repo we created repo --name="CentOS" --baseurl=file:///mnt/source --cost=100 # The below line installs the bare minimum WITH docs. If you don't want the docs, coment it out and uncomment the line below it. #packages --nobase packages --nobase --excludedocs --ignoremissing @core @base @debugging -@Conflicts (Server) perl-Time-HiRes wget make openssl-devel ncurses-devel newt-devel libxml2-devel kernel-devel gcc gcc-c++ sqlite-devel cpp libgcc libgomp libstdc++ libstdc++-devel libuuid libxml2 locate telnet perl python php httpd libnfnetlink-devel pkgconfig slang-devel openscap-devel openssl perl-XML-TokeParser perl-libs php-cli php-common mysql-server mysql-libs libuuid-devel mysql-devel %post --interpreter=/bin/bash --erroronfail --log=/mnt/sysimage/root/ks-post.log mkdir /mnt/tmp /bin/echo "nameserver 10.111.X.X" >> /etc/resolv.conf /bin/echo "nameserver 10.111.X.X" >> /etc/resolv.conf /bin/echo "nameserver 4.2.X.X" >> /etc/resolv.conf sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config mount /dev/cdrom /mnt cp -rf /mnt/asterisk/* /usr/local/src/ cd /usr/local/src tar -xvzf asterisk-11-current.tar.gz cd asterisk-11.9.0/ ./configure --libdir=/usr/lib64 && echo "Done" menuselect/menuselect --enable res_config_mysql menuselect.makeopts menuselect/menuselect --enable cdr_mysql menuselect.makeopts make && make install && echo "Done" make samples && make config && echo "Done" /sbin/ldconfig asterisk asterisk -rx "core stop now" asterisk /sbin/ldconfig exit 0 %end ################################## Exception which I am getting at the end of installation is attached herewith to see. Please help to remove this exception error. Thanks regards, Kamran |
What version of Centos are you installing?
|
I am using Centos 6.4 X86_64
|
All times are GMT -5. The time now is 04:48 PM. |