From 898d4673219d16a5dc19e523f94eba952365f0c1 Mon Sep 17 00:00:00 2001 From: spmfox Date: Tue, 28 May 2024 15:27:24 -0400 Subject: removing the base centos-bootc deployment, it caused problems with the final deployed image and did not save disk space --- templates/bootcblade-deploy.sh.j2 | 9 +++++++++ templates/centos-bootc-deploy.sh.j2 | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 templates/bootcblade-deploy.sh.j2 delete mode 100644 templates/centos-bootc-deploy.sh.j2 (limited to 'templates') 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' }} diff --git a/templates/centos-bootc-deploy.sh.j2 b/templates/centos-bootc-deploy.sh.j2 deleted file mode 100644 index 2083295..0000000 --- a/templates/centos-bootc-deploy.sh.j2 +++ /dev/null @@ -1,9 +0,0 @@ -#!/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' }} -- cgit