Skip to content

Commit

Permalink
vm/nomad-job: fix rbd-unmap by making ceph binaries available
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed May 19, 2023
1 parent 6d8eb10 commit 61e678c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vm/nomad-job.nix
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ ${''
data = <<EOD
#! /run/current-system/sw/bin/bash -e
PATH="$PATH:${lib.makeBinPath (with pkgs; [ ceph ])}"
cd ${workDir}
rbd unmap $(readlink "${path}")
EOD
Expand Down

0 comments on commit 61e678c

Please sign in to comment.