mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
Merge pull request #3059 from deitch/motd-namespace-warning
Add services.linuxkit warning to motd for sshd and getty
This commit is contained in:
commit
414b4c5275
@ -38,7 +38,7 @@ init:
|
||||
- linuxkit/containerd:72df922e49a363a4ad53d88cd1a8a3ae4d41086f
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
trust:
|
||||
|
@ -18,7 +18,7 @@ services:
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:v0.4
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:v0.4
|
||||
image: linuxkit/sshd:2c7e6e36bd0ffa2b3d950cf9128da89ba3375dbb
|
||||
binds:
|
||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||
- name: nginx
|
||||
|
@ -15,7 +15,7 @@ services:
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:v0.4
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:v0.4
|
||||
image: linuxkit/sshd:2c7e6e36bd0ffa2b3d950cf9128da89ba3375dbb
|
||||
files:
|
||||
- path: root/.ssh/authorized_keys
|
||||
source: ~/.ssh/id_rsa.pub
|
||||
|
@ -22,7 +22,7 @@ onboot:
|
||||
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
|
@ -52,7 +52,7 @@ services:
|
||||
image: linuxkit/acpid:v0.4
|
||||
# Enable getty for easier debugging
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
# Run ntpd to keep time synchronised in the VM
|
||||
|
@ -18,7 +18,7 @@ onboot:
|
||||
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
|
@ -16,13 +16,13 @@ onboot:
|
||||
image: linuxkit/metadata:v0.4
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:v0.4
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:v0.4
|
||||
image: linuxkit/sshd:2c7e6e36bd0ffa2b3d950cf9128da89ba3375dbb
|
||||
binds:
|
||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||
- name: nginx
|
||||
|
@ -14,7 +14,7 @@ onboot:
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
# to make insecure with passwordless root login, uncomment following lines
|
||||
#env:
|
||||
# - INSECURE=true
|
||||
|
@ -18,7 +18,7 @@ onshutdown:
|
||||
command: ["/bin/echo", "so long and thanks for all the fish"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
runtime:
|
||||
|
@ -12,7 +12,7 @@ onboot:
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: influxdb
|
||||
|
@ -11,7 +11,7 @@ onboot:
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
trust:
|
||||
|
@ -7,7 +7,7 @@ init:
|
||||
- linuxkit/containerd:72df922e49a363a4ad53d88cd1a8a3ae4d41086f
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
|
@ -19,7 +19,7 @@ services:
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:v0.4
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:v0.4
|
||||
image: linuxkit/sshd:2c7e6e36bd0ffa2b3d950cf9128da89ba3375dbb
|
||||
binds:
|
||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||
- name: nginx
|
||||
|
@ -24,11 +24,11 @@ services:
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:v0.4
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:v0.4
|
||||
image: linuxkit/sshd:2c7e6e36bd0ffa2b3d950cf9128da89ba3375dbb
|
||||
files:
|
||||
- path: root/.ssh/authorized_keys
|
||||
source: ~/.ssh/id_rsa.pub
|
||||
|
@ -13,7 +13,7 @@ onboot:
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
# Currently redis:4.0.6-alpine has trust issue with multi-arch
|
||||
|
@ -11,7 +11,7 @@ onboot:
|
||||
image: linuxkit/sysctl:v0.4
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
|
@ -14,7 +14,7 @@ onboot:
|
||||
command: ["/sbin/rngd", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
@ -22,7 +22,7 @@ services:
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:v0.4
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:v0.4
|
||||
image: linuxkit/sshd:2c7e6e36bd0ffa2b3d950cf9128da89ba3375dbb
|
||||
files:
|
||||
- path: root/.ssh/authorized_keys
|
||||
source: ~/.ssh/id_rsa.pub
|
||||
|
@ -24,7 +24,7 @@ onboot:
|
||||
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
|
@ -14,7 +14,7 @@ onboot:
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: tss
|
||||
|
@ -11,7 +11,7 @@ onboot:
|
||||
image: linuxkit/sysctl:v0.4
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
|
@ -19,7 +19,7 @@ onboot:
|
||||
command: ["sh", "-c", "mkdir /host_var/vpnkit && mount -v -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 port /host_var/vpnkit"]
|
||||
services:
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:v0.4
|
||||
image: linuxkit/sshd:2c7e6e36bd0ffa2b3d950cf9128da89ba3375dbb
|
||||
- name: vpnkit-forwarder
|
||||
image: linuxkit/vpnkit-forwarder:v0.4
|
||||
binds:
|
||||
|
@ -16,13 +16,13 @@ onboot:
|
||||
image: linuxkit/metadata:v0.4
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:v0.4
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:v0.4
|
||||
image: linuxkit/sshd:2c7e6e36bd0ffa2b3d950cf9128da89ba3375dbb
|
||||
binds:
|
||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||
- name: nginx
|
||||
|
@ -40,7 +40,7 @@ onboot:
|
||||
net: /run/netns/wg1
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
net: /run/netns/wg1
|
||||
|
@ -18,7 +18,7 @@ onshutdown:
|
||||
command: ["/bin/echo", "so long and thanks for all the fish"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
|
@ -2,3 +2,4 @@ Welcome to LinuxKit!
|
||||
|
||||
NOTE: This system is namespaced.
|
||||
The namespace you are currently in may not be the root.
|
||||
System services are namespaced; to access, use `ctr -n linuxkit.service ...`
|
||||
|
@ -2,3 +2,4 @@ Welcome to LinuxKit!
|
||||
|
||||
NOTE: This system is namespaced.
|
||||
The namespace you are currently in may not be the root.
|
||||
System services are namespaced; to access, use `ctr -n linuxkit.service ...`
|
||||
|
@ -11,7 +11,7 @@ onboot:
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
trust:
|
||||
|
@ -12,7 +12,7 @@ onboot:
|
||||
image: linuxkit/sysctl:v0.4
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
|
@ -28,9 +28,9 @@ onboot:
|
||||
- /lib:/lib # for ifconfig
|
||||
services:
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:v0.4
|
||||
image: linuxkit/sshd:2c7e6e36bd0ffa2b3d950cf9128da89ba3375dbb
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
files:
|
||||
|
@ -13,7 +13,7 @@ services:
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:v0.4
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
trust:
|
||||
|
@ -14,7 +14,7 @@ onboot:
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
|
@ -12,7 +12,7 @@ onboot:
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:v0.4
|
||||
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
||||
files:
|
||||
- path: etc/getty.shadow
|
||||
# sample sets password for root to "abcdefgh" (without quotes)
|
||||
|
Loading…
Reference in New Issue
Block a user