Skip to content

Commit

Permalink
fix installation
Browse files Browse the repository at this point in the history
  • Loading branch information
colobas committed Aug 14, 2023
1 parent cc51117 commit 57bc5c7
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 57bc5c7

Please sign in to comment.