fix: update network interface configuration in Dockerfile
All checks were successful
All checks were successful
This commit is contained in:
parent
90e56ae991
commit
0a267c3102
1 changed files with 1 additions and 1 deletions
|
|
@ -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 && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue