aboutsummaryrefslogtreecommitdiff
path: root/templates/bootcblade-iso.sh.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/bootcblade-iso.sh.j2')
-rw-r--r--templates/bootcblade-iso.sh.j215
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/bootcblade-iso.sh.j2 b/templates/bootcblade-iso.sh.j2
new file mode 100644
index 0000000..0d276e9
--- /dev/null
+++ b/templates/bootcblade-iso.sh.j2
@@ -0,0 +1,15 @@
+#!/bin/bash
+podman run \
+ --rm \
+ -it \
+ --privileged \
+ --pull=newer \
+ --security-opt label=type:unconfined_t \
+ -v /root/bootcblade.config.toml:/config.toml \
+ -v /root/bootcblade-output:/output \
+ -v /var/lib/containers/storage:/var/lib/containers/storage \
+ quay.io/centos-bootc/bootc-image-builder:latest \
+ --type anaconda-iso \
+ --rootfs xfs \
+ --local \
+ localhost/bootcblade:latest