From 16117103e7d468d49499edad1597baa1a6694114 Mon Sep 17 00:00:00 2001 From: Niklas Haiden Date: Sun, 5 Oct 2025 18:39:08 +0200 Subject: [PATCH] add some stuff for cloud init --- Containerfile | 1 + build.sh | 4 ++++ build_files/dhcpd.conf | 2 ++ 3 files changed, 7 insertions(+) create mode 100644 build_files/dhcpd.conf diff --git a/Containerfile b/Containerfile index dacc7c8..812317f 100644 --- a/Containerfile +++ b/Containerfile @@ -6,6 +6,7 @@ FROM quay.io/centos-bootc/centos-bootc:c10s COPY repos/docker-ce.repo /etc/yum.repos.d/docker-ce.repo COPY build_files/docker.conf /usr/lib/sysusers.d/docker.conf +COPY build_files/dhcpd.conf /usr/lib/sysusers.d/dhcpd.conf RUN --mount=type=tmpfs,dst=/var \ --mount=type=tmpfs,dst=/tmp \ diff --git a/build.sh b/build.sh index db60862..fa11e96 100755 --- a/build.sh +++ b/build.sh @@ -95,6 +95,10 @@ fi # 6. Disable Docker repository to prevent runtime updates echo "Docker CE installation complete!" +echo "Installing cloud init" + +dnf install -y cloud-init + tee /usr/lib/systemd/zram-generator.conf <