mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 13:45:39 +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
(cherry picked from commit 99727567b0
)
This commit is contained in:
parent
aaaf21e930
commit
2de79eaadb
@ -36,14 +36,20 @@ user --name=none
|
|||||||
|
|
||||||
firewall --disabled
|
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
|
network --bootproto=dhcp --device=link --activate --onboot=on
|
||||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||||
|
|
||||||
zerombr
|
zerombr
|
||||||
clearpart --all
|
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
|
%include fedora-repo.ks
|
||||||
|
|
||||||
@ -82,7 +88,7 @@ which
|
|||||||
#-kbd
|
#-kbd
|
||||||
-uboot-tools
|
-uboot-tools
|
||||||
-kernel
|
-kernel
|
||||||
grub2
|
-grub2
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
@ -245,9 +251,7 @@ rm -f /var/lib/rpm/__db*
|
|||||||
# where sfdisk seems to be messing up the mbr.
|
# where sfdisk seems to be messing up the mbr.
|
||||||
# Long-term fix is to address this in anaconda directly and remove this.
|
# Long-term fix is to address this in anaconda directly and remove this.
|
||||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
|
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
|
||||||
#dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
||||||
# Disabled with the switch back to grub2
|
|
||||||
|
|
||||||
|
|
||||||
# FIXME: is this still needed?
|
# FIXME: is this still needed?
|
||||||
echo "Fixing SELinux contexts."
|
echo "Fixing SELinux contexts."
|
||||||
|
Loading…
Reference in New Issue
Block a user