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

include defaults

This commit is contained in:
Jason N. 2024-03-01 07:53:29 -05:00
parent 500928f580
commit 6b9ca03391

View file

@ -166,10 +166,12 @@ jobs:
- name: Add anaconda.ks to ISO
run: |
checkisomd5 ${{ env.IMAGE_NAME }}-${{ env.VERSION }}.iso
sudo mkdir /mnt/iso
sudo mount -o loop ${{ env.IMAGE_NAME }}-${{ env.VERSION }}.iso /mnt/iso
cp /mnt/iso/boot/grub2/grub.cfg grub.cfg
sed -i 's/quiet/console=ttyS0,115200n8 inst.ks=cdrom:\/ks.cfg/' grub.cfg
sed -i 's/set default="1"/set default="0"/' grub.cfg
cat << EOF > ks.cfg
lang en_US.UTF-8
keyboard us
@ -179,6 +181,7 @@ jobs:
autopart
reboot
user --name=core --groups=wheel --password=foobar
%ksappend /usr/share/anaconda/interactive-defaults.ks
EOF
xorriso -dialog on << EOF
-indev base-39.iso
@ -189,7 +192,6 @@ jobs:
-map grub.cfg boot/grub2/grub.cfg
-end
EOF
implantisomd5 test.iso
- name: Start a VM
run: |