From d047d671ed53bc84936908a8796dc029b7711d22 Mon Sep 17 00:00:00 2001 From: AidanAbd Date: Thu, 18 Jul 2024 13:19:35 -0700 Subject: [PATCH] fix: stuffs? --- sysbox-eks.pkr.hcl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sysbox-eks.pkr.hcl b/sysbox-eks.pkr.hcl index 6f76db5..c973dca 100644 --- a/sysbox-eks.pkr.hcl +++ b/sysbox-eks.pkr.hcl @@ -469,6 +469,10 @@ build { "sudo apt-get update", "sudo apt-get install -y nvidia-container-toolkit", "sudo nvidia-ctk runtime configure --runtime=crio --set-as-default --config=/etc/crio/crio.conf.d/99-nvidia.conf", + + "sudo dasel delete --parser toml --selector 'nvidia-container-runtime.runtimes' --file /etc/nvidia-container-runtime/config.toml", + "sudo dasel put string --parser toml --selector 'nvidia-container-runtime.runtimes.[]' --file /etc/nvidia-container-runtime/config.toml 'runc'", + "sudo systemctl restart crio" ] }