Ejecting CD after kickstart installation
Marc Wiatrowski
wia at iglass.net
Mon Feb 20 14:01:15 UTC 2006
I got this from the list a while back and has been working for me
with Enterprise 3. You could probably narrow down the devices,
but this just makes sure it hits everything.
hopefully its useful,
marc
---
%post --nochroot
mkdir /mnt/hda
mkdir /mnt/hdb
mkdir /mnt/hdc
mkdir /mnt/hdd
mknod /dev/hda b 3 0
mknod /dev/hdb b 3 64
mknod /dev/hdc b 22 0
mknod /dev/hdd b 22 64
echo '/dev/hda /mnt/hda iso9660,ro 0 0' >> /etc/fstab
echo '/dev/hdb /mnt/hdb iso9660,ro 0 0' >> /etc/fstab
echo '/dev/hdc /mnt/hdc iso9660,ro 0 0' >> /etc/fstab
echo '/dev/hdd /mnt/hdd iso9660,ro 0 0' >> /etc/fstab
/mnt/sysimage/usr/bin/eject /dev/hda
/mnt/sysimage/usr/bin/eject /dev/hdb
/mnt/sysimage/usr/bin/eject /dev/hdc
/mnt/sysimage/usr/bin/eject /dev/hdd
> -----Original Message-----
> From: Mattias Andersson
> Sent: Friday, February 17, 2006 11:14 AM
> To: kickstart-list at redhat.com
> Subject: Ejecting CD after kickstart installation
>
> Hi,
>
> I'm installing Fedora 3 on a lot of machines in our rendering
> farm using a
> kickstart installation.
> The best would be if I could somehow get the kickstart to
> eject the cd
> straight after it has finished the first phase, i.e. before the first
> reboot. Cause then I don't need to connect a monitor and
> keyboard to the
> machine, all I need to do is to put the first installation CD
> and let it
> install via NFS and eventually it would just be done.
> The network path and such information for the installation is
> provided via
> DHCP and the installation CD has been slightly modified to
> boot straight in
> to the kickstart-mode.
>
> Has anyone been succesful in doing this?
>
> Any suggestions would be very much apprecieated.
>
> Mattias
More information about the Kickstart-list
mailing list