Skip to content

Commit

Permalink
fix(bootstrap): findutils needs to be installed first
Browse files Browse the repository at this point in the history
  • Loading branch information
onedr0p authored Nov 13, 2024
1 parent b278dd6 commit 35fafa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .taskfiles/bootstrap/resources/wipe-rook-disk.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ spec:
command: ["/bin/sh", "-c"]
args:
- |
DISK=$(find /dev/disk/by-id/ -iname "*{{ ENV.MODEL }}*" -not -name "*-part[0-9+]");
apk add --no-cache device-mapper findutils parted sgdisk util-linux util-linux-misc;
DISK=$(find /dev/disk/by-id/ -iname "*{{ ENV.MODEL }}*" -not -name "*-part[0-9+]");
sgdisk --zap-all $DISK;
dd if=/dev/zero of="$DISK" bs=1M count=100 oflag=direct;
blkdiscard $DISK;
Expand Down

0 comments on commit 35fafa1

Please sign in to comment.