[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RFE: Support kickstart files in rescue mode
- From: Alexander Todorov <atodorov redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: RFE: Support kickstart files in rescue mode
- Date: Wed, 23 Jul 2008 10:13:59 +0300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Good morning folks,
the requested feature will be useful for automation. I'm targeting rescue mode
test automation but it can be used for automating common tasks in rescue mode if
one is administering pool of machines. The minimal ks.cfg file is:
- ---
lang en_US
keyboard us
network --device eth0 --bootproto dhcp --onboot yes
cdrom
#url --url http://path/to/stage2.img
%post --nochroot
mkdir -p /mnt/sysimage
mount -t ext3 /dev/sda1 /mnt/sysimage
echo "system is mounted" >> /mnt/sysimage/root/rescue.log
%end
%post
cat /etc/fedora-release >> /root/rescue.log
uname -a >> /root/rescue.log
%end
%post --nochroot
echo "system will be unmounted" >> /mnt/sysimage/root/rescue.log
umount /mnt/sysimage
%end
Everything before %post is currently parsed and understood by the loader.
Currently kickstart is supported only when booting in rescue mode with the
"nomount" option because the changes are smaller and easier to review. Patches
are coming shortly. Please review them.
Thanks,
Alexander.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org
iD8DBQFIhtouhmd3WOiFct4RCkR4AJ4xjiaqU3xXvKWo926h7imt08SjKgCdHk0N
VeNCqaqqftkdoDltYdkfA1o=
=fMwO
-----END PGP SIGNATURE-----
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]