diff options
| author | spmfox <spmfox@foxwd.com> | 2024-05-28 15:27:24 -0400 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2024-05-28 15:27:24 -0400 |
| commit | 898d4673219d16a5dc19e523f94eba952365f0c1 (patch) | |
| tree | 1065b5713876e4e0d6f2923412fbb5623df10b0f /templates/bootcblade-deploy.sh.j2 | |
| parent | db610a23f49958d98858705f20fd63208d7937c9 (diff) | |
removing the base centos-bootc deployment, it caused problems with the final deployed image and did not save disk space
Diffstat (limited to 'templates/bootcblade-deploy.sh.j2')
| -rw-r--r-- | templates/bootcblade-deploy.sh.j2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/bootcblade-deploy.sh.j2 b/templates/bootcblade-deploy.sh.j2 new file mode 100644 index 0000000..ecd91e3 --- /dev/null +++ b/templates/bootcblade-deploy.sh.j2 @@ -0,0 +1,9 @@ +#!/bin/bash +podman run --rm --privileged \ + --pid=host --security-opt label=type:unconfined_t \ + --volume /dev:/dev \ + --volume /var/lib/containers:/var/lib/containers \ + --volume /:/target \ + --entrypoint bootc \ + localhost/bootcblade:latest \ + install to-filesystem --skip-fetch-check --replace=alongside /target --root-ssh-authorized-keys /target/root/.ssh/authorized_keys {{ '' if bootc_acknowledge is false else '--acknowledge-destructive' }} |
