forked from gh-mirrored/hallstatt
add some stuff for cloud init
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
u dhcpcd - "DHCP client daemon user"
|
||||
g dhcpcd
|
||||
Reference in New Issue
Block a user