diff options
| author | spmfox <spmfox@foxwd.com> | 2024-05-27 22:02:53 -0400 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2024-05-27 22:02:53 -0400 |
| commit | a2f4ef8a1d83ac42195ad9c10d95572b44609dcd (patch) | |
| tree | bb0f28e9d9b20376367e73bee57f8a026657320b /templates/centos-bootc-deploy.sh.j2 | |
| parent | b1bf9890d12d965011c2dff639b8eb0b477d7ad2 (diff) | |
Initial commit of project
Diffstat (limited to 'templates/centos-bootc-deploy.sh.j2')
| -rw-r--r-- | templates/centos-bootc-deploy.sh.j2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/centos-bootc-deploy.sh.j2 b/templates/centos-bootc-deploy.sh.j2 new file mode 100644 index 0000000..2083295 --- /dev/null +++ b/templates/centos-bootc-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 \ + quay.io/centos-bootc/centos-bootc:{{ centos_bootc_tag if centos_bootc_tag is defined else 'stream9' }} \ + 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' }} |
