mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-10 08:00:06 +00:00
Switch cloud base back to extlinux from grub2.
We need to unset the 64bit option on ext4 to make extlinux work. See https://bugzilla.redhat.com/show_bug.cgi?id=1369934 and http://www.syslinux.org/wiki/index.php/Filesystem#ext
This commit is contained in:
parent
7a37fb6304
commit
99727567b0
@ -36,14 +36,20 @@ user --name=none
|
||||
|
||||
firewall --disabled
|
||||
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
|
||||
|
||||
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
||||
zerombr
|
||||
clearpart --all
|
||||
part / --fstype ext4 --grow
|
||||
#
|
||||
# We need to disable 64bit options here or extlinux won't work.
|
||||
# See: http://www.syslinux.org/wiki/index.php/Filesystem#ext4
|
||||
# and
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1369934
|
||||
#
|
||||
part / --fstype ext4 --grow --mkfsoptions="-O ^64bit"
|
||||
|
||||
%include fedora-repo.ks
|
||||
|
||||
@ -82,7 +88,7 @@ which
|
||||
#-kbd
|
||||
-uboot-tools
|
||||
-kernel
|
||||
grub2
|
||||
-grub2
|
||||
|
||||
%end
|
||||
|
||||
@ -245,9 +251,7 @@ rm -f /var/lib/rpm/__db*
|
||||
# where sfdisk seems to be messing up the mbr.
|
||||
# Long-term fix is to address this in anaconda directly and remove this.
|
||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
|
||||
#dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
||||
# Disabled with the switch back to grub2
|
||||
|
||||
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
||||
|
||||
# FIXME: is this still needed?
|
||||
echo "Fixing SELinux contexts."
|
||||
|
Loading…
Reference in New Issue
Block a user