aboutsummaryrefslogtreecommitdiff
path: root/templates/bootcblade-iso.sh.j2
diff options
context:
space:
mode:
authorspmfox <spmfox@foxwd.com>2024-05-27 22:02:53 -0400
committerspmfox <spmfox@foxwd.com>2024-05-27 22:02:53 -0400
commita2f4ef8a1d83ac42195ad9c10d95572b44609dcd (patch)
treebb0f28e9d9b20376367e73bee57f8a026657320b /templates/bootcblade-iso.sh.j2
parentb1bf9890d12d965011c2dff639b8eb0b477d7ad2 (diff)
Initial commit of project
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