LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Kickstart problem with warning prompt (https://www.linuxquestions.org/questions/linux-server-73/kickstart-problem-with-warning-prompt-661577/)

rahmad 08-09-2008 06:09 AM

Kickstart problem with warning prompt
 
hi

I am trying to do hands off installation for RHEL5 using kickstart, everything is working fine but I have a problem with a warning prompt the appears, this waring prompt ask me if I want to delete all data on the disk. I should press yes or no. how can I remove this warning window, is there any option in ks.cfg to skip this warning message?

below is my ks.cfg

# Kickstart file automatically generated by anaconda.

install
nfs --server=192.168.44.138 --dir=/inst
key --skip
lang en_US.UTF-8
keyboard us
xconfig --startxonboot
network --device eth0 --bootproto dhcp
rootpw --iscrypted $1$2SHjXldp$iQNaS5hnb3NmCQ/OdCm94.
firewall --enabled --port=22:tcp
authconfig --enableshadow --enablemd5
selinux --enforcing
timezone --utc America/New_York
bootloader --location=mbr --driveorder=hda --append="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
clearpart --all
part /boot --fstype ext3 --size=100 --ondisk=hda
part pv.2 --size=0 --grow --ondisk=hda
volgroup VolGroup00 --pesize=32768 pv.2
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=256 --grow --maxsize=512

%packages
@system-tools

trickykid 08-11-2008 01:34 PM

On the clearpart --all line try adding this to it:

Code:

clearpart --all --initlabel

rahmad 08-14-2008 04:00 PM

it works fine now, I have no warning dialogs :)

thanks


All times are GMT -5. The time now is 09:10 AM.