Skip to content

Commit

Permalink
Merge branch 'main' into 'main'
Browse files Browse the repository at this point in the history
fix installation

See merge request nvidia/cloud-native/mig-parted!144
  • Loading branch information
Evan Lezar committed Nov 3, 2023
2 parents 788830b + f6528f8 commit d7e9fc0
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 d7e9fc0

Please sign in to comment.