From 4420a3cd9a3395f4243eed6837de69113212aa66 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 22 Oct 2024 12:02:40 -0400 Subject: [PATCH] Infini-DL360: run infiniband setup script as root --- hosts/Infini-DL360/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/Infini-DL360/default.nix b/hosts/Infini-DL360/default.nix index b7fa387..c0f61bb 100644 --- a/hosts/Infini-DL360/default.nix +++ b/hosts/Infini-DL360/default.nix @@ -123,5 +123,9 @@ echo "eth" > /sys/bus/pci/devices/0000:04:00.0/mlx4_port1 echo "eth" > /sys/bus/pci/devices/0000:04:00.0/mlx4_port2 ''; + serviceConfig = { + User = "root"; + Group = "root"; + }; }; }