Skip to content

Commit

Permalink
fix installation
Browse files Browse the repository at this point in the history
Signed-off-by: Guilherme Pires <[email protected]>
  • Loading branch information
colobas committed Nov 2, 2023
1 parent 788830b commit f6528f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deployments/systemd/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit f6528f8

Please sign in to comment.