From e02a2228ba44cb3571209e29720b079ecfba9fe3 Mon Sep 17 00:00:00 2001 From: Arnaldo Garcia Rincon Date: Thu, 2 Jun 2022 01:44:12 +0000 Subject: [PATCH 1/2] docker-engine: fix daemon configuration for NVIDIA The default runtime for all ECS variants should be `shimpie`, since the ecs-agent knows when to switch runtimes depending on the task's configurations Signed-off-by: Arnaldo Garcia Rincon --- packages/docker-engine/daemon-nvidia-json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docker-engine/daemon-nvidia-json b/packages/docker-engine/daemon-nvidia-json index 572775d7a5e..a8a92378062 100644 --- a/packages/docker-engine/daemon-nvidia-json +++ b/packages/docker-engine/daemon-nvidia-json @@ -5,7 +5,7 @@ "storage-driver": "overlay2", "exec-opts": ["native.cgroupdriver=cgroupfs"], "data-root": "/var/lib/docker", - "default-runtime": "nvidia", + "default-runtime": "shimpei", "runtimes": { "shimpei": { "path": "shimpei" }, "nvidia": { "path": "nvidia-oci" } }, "selinux-enabled": true, "default-ulimits": { "nofile": { "Name": "nofile", "Soft": 1024, "Hard": 4096 } } From 5d29f4ad8c631d9ebfb812a2c9114448e6d021f0 Mon Sep 17 00:00:00 2001 From: Arnaldo Garcia Rincon Date: Fri, 3 Jun 2022 18:11:17 +0000 Subject: [PATCH 2/2] aws-ecs-1-nvidia: add netdog configurations to cmdline This adds new boot configurations for netdog to prepare the primary network interface Signed-off-by: Arnaldo Garcia Rincon --- variants/aws-ecs-1-nvidia/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/variants/aws-ecs-1-nvidia/Cargo.toml b/variants/aws-ecs-1-nvidia/Cargo.toml index 672a3a54150..f3d5023cee1 100644 --- a/variants/aws-ecs-1-nvidia/Cargo.toml +++ b/variants/aws-ecs-1-nvidia/Cargo.toml @@ -12,6 +12,8 @@ os-image-size-gib = 4 kernel-parameters = [ "console=tty0", "console=ttyS0,115200n8", + "net.ifnames=0", + "netdog.default-interface=eth0:dhcp4,dhcp6?" ] included-packages = [ # core