RFE: Support kickstart files in rescue mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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-----

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux