From f6528f8fa7c7209d59ab582ba0fe1e248b6a6395 Mon Sep 17 00:00:00 2001 From: Guilherme Pires Date: Mon, 14 Aug 2023 13:48:34 -0700 Subject: [PATCH] fix installation Signed-off-by: Guilherme Pires --- deployments/systemd/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deployments/systemd/install.sh b/deployments/systemd/install.sh index b576b1b3..f8eccf17 100755 --- a/deployments/systemd/install.sh +++ b/deployments/systemd/install.sh @@ -43,12 +43,12 @@ chmod a+rx ${CONFIG_DIR} chmod a+rx ${OVERRIDE_DIR} chmod a+rx ${PROFILED_DIR} -${DOCKER} run \ +${DOCKER} run --rm \ -v ${BINARY_DIR}:/dest \ golang:1.20.1 \ sh -c " - go install github.com/NVIDIA/mig-parted/cmd@latest - mv /go/bin/cmd /dest/nvidia-mig-parted + go install $MIG_PARTED_GO_GET_PATH@latest + mv /go/bin/nvidia-mig-parted /dest/nvidia-mig-parted " cp ${SERVICE_NAME} ${SYSTEMD_DIR}