2
0
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:
2022-08-09 16:52:12 +02:00
parent 1721146c7d
commit 96026b88ab
16 changed files with 44 additions and 37 deletions

View File

@ -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

View File

@ -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

View File

@ -1,10 +0,0 @@
network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: true
nameservers:
addresses:
- 8.8.8.8
- 8.8.4.4

View File

@ -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/

View File

@ -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