mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
don't fail if /mnt/iso already exists
This commit is contained in:
parent
a5fada3a92
commit
720c0b31a0
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build-and-test.yml
vendored
2
.github/workflows/build-and-test.yml
vendored
|
|
@ -139,7 +139,7 @@ jobs:
|
||||||
|
|
||||||
- name: Add Kickstart and Grub options to ISO
|
- name: Add Kickstart and Grub options to ISO
|
||||||
run: |
|
run: |
|
||||||
sudo mkdir /mnt/iso
|
sudo mkdir /mnt/iso || true
|
||||||
sudo mount -o loop deploy.iso /mnt/iso
|
sudo mount -o loop deploy.iso /mnt/iso
|
||||||
cp /mnt/iso/boot/grub2/grub.cfg grub.cfg
|
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/quiet/console=ttyS0,115200n8 inst.ks=cdrom:\/ks.cfg/' grub.cfg
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue