Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Mar 2006
Kickstart client FC5 howto eject the cdrom
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
#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
# cdrom eject eject /dev/cdrom eject /dev/hdb
and i found with google to try this
%pre PYTHONPATH=/usr/lib/anaconda python -c 'import isys; isys.ejectCdrom("/dev/hdc")'
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...