add some stuff for cloud init

This commit is contained in:
Niklas Haiden
2025-10-05 18:39:08 +02:00
parent 7141682abb
commit 16117103e7
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -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 \
+4
View File
@@ -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 <<EOF
[zram0]
+2
View File
@@ -0,0 +1,2 @@
u dhcpcd - "DHCP client daemon user"
g dhcpcd