From 0a267c3102edaf9410a65b9b7f686e41ba7547e9 Mon Sep 17 00:00:00 2001 From: Xaver Russ Date: Tue, 30 Sep 2025 15:11:29 +0200 Subject: [PATCH] fix: update network interface configuration in Dockerfile --- containers/alpine/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/alpine/Dockerfile b/containers/alpine/Dockerfile index 4b0ef8e..c47a9e7 100644 --- a/containers/alpine/Dockerfile +++ b/containers/alpine/Dockerfile @@ -36,7 +36,7 @@ RUN rc-update add sshd default RUN rc-update add incus-agent default RUN ssh-keygen -A -RUN printf 'auto lo\niface lo inet loopback\n' > /etc/network/interfaces +RUN printf 'auto lo\niface lo inet loopback\n\nauto eth0\niface eth0 inet dhcp\n' > /etc/network/interfaces RUN mkdir -p /root/.ssh && \ printf 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEFdTFM5ZbGytRp8orRu4cK+kLcQdPFVKqaN0iNVlp2p slothington\n' >> /root/.ssh/authorized_keys && \