Hi to all

i am trying to get my kickstart client to eject the cdrom after the installation.
the problem is after installation the cdrom is still in the cdrom drive and the system reboots and the installation proccess begins again...
i know i can change the boot sequence or configure the kickstart script to not reboot...
but it have to be possible to eject the cdrom.


i have tried the following

here is a part from the configuration file

Code:
#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth  --useshadow  --enablemd5  --enablenis --nisdomain=q --nisserver=10.0.0.1
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all --initlabel 
# Use graphical install
text
# Firewall configuration
firewall --disabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Use NFS installation media
nfs --server=10.0.0.1 --dir=/data/fedora-mirror/core/5/i386/os
# Network information
network --bootproto=dhcp --device=eth0 --onboot=yes
# Reboot after installation
reboot
and at the end from the file i have tested

Code:
# cdrom eject
eject /dev/cdrom
eject /dev/hdb
did not work

and i found with google to try this

Code:
%pre
PYTHONPATH=/usr/lib/anaconda python -c 'import isys; 
    isys.ejectCdrom("/dev/hdc")'
did not work too

but after serveral times testing and searching i did not find a solution...
maybe the forum users can help me...

i know that i can disable the reboot but there have to be a solution to eject the cdrom... its one of those 1U cdrom's that dont move back inside at boot time...

thank you