centos kickstart

cd /root/iso/centos
mkisofs -o CentOS_6_x86_64_Kickstart.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T .
-------------------------------------------------------------------
Kickstart option to avoid "Storage Device Warning"
When I added zerombr to my kickstarts that issue went away.
I think that should do it b/c the devices will then have a structure that anaconda won't flake out on.
-------------------------------------------------------------------
PyCURL couldn't resolve "cdrom:sr0" during CentOS 6.2 kickstart installation
I have solved this issue myself, the solution is changing the repo line from
repo --name="CentOS"  --baseurl=cdrom:sr0 --cost=100
to
repo --name="CentOS"  --baseurl=file:///mnt/source --cost=100
-------------------------------------------------------------------
# Kickstart file automatically generated by anaconda.
#version=DEVEL
install
cdrom
lang en_US.UTF-8
keyboard fr
network --onboot yes --device eth0 --bootproto static --noipv6
rootpw  --iscrypted $6$NJrmWL64ZRdd1QFJ$I2hxrufs.2FI9.CVGB35R0fSQAFtJp4lakIKCoTvvmjVIBmDN/tOaBOwzptldn8HBXUMv8NmytpM6WeeonwSU.
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc Europe/Paris
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 --drives=sda
part /boot --fstype=ext4 --size=500
part pv.008002 --grow --size=1
volgroup VolGroup --pesize=4096 pv.008002
logvol / --fstype=ext4 --name=lv_root --vgname=VolGroup --size=97896
logvol swap --name=lv_swap --vgname=VolGroup --size=4000
repo --name="CentOS"  --baseurl=file:///mnt/source --cost=100
reboot --eject
%post --nochroot
cp /mnt/source/6netconfig.sh /mnt/sysimage/root >> /tmp/ins.log 2>&1
chmod +x /mnt/sysimage/root/6netconfig.sh
%packages --nobase
@core
%end
-----------------------------------------------------------------
Last modified onMonday, 22 July 2013 22:59

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169

Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
back to top