File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
tools/test-popular-containers Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ function make_rootfs {
4848 systemd-nspawn --timezone=off --pipe -i $IMG /bin/sh << EOF
4949set -x
5050. /etc/os-release
51- passwd -d root
5251case \$ ID in
5352ubuntu)
5453 export DEBIAN_FRONTEND=noninteractive
@@ -61,7 +60,15 @@ alpine)
6160 rc-update add local default
6261 echo "ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100" >>/etc/inittab
6362 ;;
63+ amzn)
64+ dnf update
65+ dnf install -y openssh-server iproute passwd
66+ # re-do this
67+ ln -svf /etc/systemd/system/fcnet.service /etc/systemd/system/sysinit.target.wants/fcnet.service
68+ rm -fv /etc/systemd/system/getty.target.wants/[email protected] 69+ ;;
6470esac
71+ passwd -d root
6572EOF
6673}
6774
@@ -70,3 +77,4 @@ make_rootfs ubuntu:22.04
7077make_rootfs ubuntu:24.04
7178make_rootfs ubuntu:24.10
7279# make_rootfs ubuntu:latest
80+ make_rootfs amazonlinux:2023
You can’t perform that action at this time.
0 commit comments