Skip to content

Commit 9e8ed74

Browse files
committed
feat: patch iso
1 parent 9561cf7 commit 9e8ed74

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎installer-factory/patch_iso.sh‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
#!/bin/bash
22

33
# Call with:
4-
# IMAGE_NAME="" #name of iso file without iso
4+
# IMAGE_NAME="new_installer" #name of iso file without iso
5+
# echo $NEW_CONFIG >output/new_installer.json
56
# docker run -it --rm \
67
# --entrypoint /bin/bash \
78
# -v ./output:/output \
89
# -e "IMAGE_NAME=${IMAGE_NAME}" \
910
# ghcr.io/cuos-dev/cuos-installer-factory:development \
10-
# /update_iso.sh
11+
# /update_iso.sh "existing_installer.iso"
1112

1213
set -ex
1314

@@ -37,3 +38,6 @@ xorriso \
3738
-boot_image any replay \
3839
-compliance no_emul_toc \
3940
-padding included
41+
42+
echo "ISO patching complete."
43+
echo "Installer written to ${INSTALLER/\//}"

0 commit comments

Comments
 (0)