1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

boot is only for non-rhel

This commit is contained in:
Jason N. 2024-04-10 13:30:03 -04:00
parent 73b32f22b5
commit 1584dde97f
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ on:
ARCH: ARCH:
value: 'x86_64' value: 'x86_64'
BUILD_VERSIONS: BUILD_VERSIONS:
value: '[8]' value: '[8.9]'
IMAGE_NAME: IMAGE_NAME:
value: 'fedora-bootc' value: 'fedora-bootc'
IMAGE_REPO: IMAGE_REPO:

View file

@ -32,7 +32,7 @@ files/mnt/iso:
sudo mount -o loop ../../$(ISO_NAME) files/mnt/iso sudo mount -o loop ../../$(ISO_NAME) files/mnt/iso
files/grub.cfg: files/mnt/iso files/grub.cfg: files/mnt/iso
cp files/mnt/iso/boot/$(if $(_RHEL),isolinux/grub.conf,grub2/grub.cfg) files/grub.cfg cp files/mnt/iso/$(if $(_RHEL),isolinux/grub.conf,boot/grub2/grub.cfg) files/grub.cfg
sed -i 's/quiet/console=ttyS0,115200n8 inst.ks=cdrom:\/ks.cfg/' files/grub.cfg sed -i 's/quiet/console=ttyS0,115200n8 inst.ks=cdrom:\/ks.cfg/' files/grub.cfg
sed -i 's/set default="1"/set default="0"/' files/grub.cfg sed -i 's/set default="1"/set default="0"/' files/grub.cfg
sed -i 's/set timeout=60/set timeout=1/' files/grub.cfg sed -i 's/set timeout=60/set timeout=1/' files/grub.cfg