mirror of
https://github.com/linka-cloud/d2vm.git
synced 2025-06-23 22:02:25 +00:00
add verbose flag, deprecate debug false
Dockerfile: add missing ca-certificates run: hetzner: add token env var fix examples Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
FROM alpine
|
||||
|
||||
RUN apk add --no-cache openssh-server && \
|
||||
RUN apk add --no-cache openrc openssh-server && \
|
||||
rc-update add sshd default && \
|
||||
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
|
||||
|
@ -1,4 +1,5 @@
|
||||
FROM debian
|
||||
|
||||
RUN apt update && apt install -y openssh-server && \
|
||||
RUN apt update && apt install -y openssh-server systemctl && \
|
||||
systemctl enable ssh && \
|
||||
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
|
||||
|
@ -1,10 +0,0 @@
|
||||
network:
|
||||
version: 2
|
||||
renderer: networkd
|
||||
ethernets:
|
||||
eth0:
|
||||
dhcp4: true
|
||||
nameservers:
|
||||
addresses:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
@ -3,14 +3,11 @@ FROM ubuntu
|
||||
# Install some system packages
|
||||
RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
|
||||
qemu-guest-agent \
|
||||
netplan.io \
|
||||
ca-certificates \
|
||||
dnsutils \
|
||||
sudo \
|
||||
openssh-server
|
||||
|
||||
# Setup default network config
|
||||
COPY 00-netconf.yaml /etc/netplan/
|
||||
# Add a utility script to resize serial terminal
|
||||
COPY resize /usr/local/bin/
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
FROM ubuntu
|
||||
|
||||
RUN apt update && apt install -y openssh-server && \
|
||||
RUN apt update && apt install -y openssh-server systemctl && \
|
||||
systemctl enable ssh && \
|
||||
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
|
||||
|
Reference in New Issue
Block a user