mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
7 lines
174 B
Bash
Executable File
7 lines
174 B
Bash
Executable File
#!/bin/sh
|
|
set -efux
|
|
# dependencies: jq util-linux lvm2 mdadm zfs
|
|
disk=$1
|
|
|
|
lsblk --output-all --json | jq -r --arg disk_to_clear "$disk" -f "$(dirname $0)/disk-deactivate.jq"
|