aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/provision4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 4d6c807..26ed868 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -184,7 +184,7 @@ export LC_ALL=C
hydra_provision_config
# Check for requirements.
-for req in debootstrap cryptsetup grub-pc lvm2 parted mdadm; do
+for req in debootstrap cryptsetup lvm2 parted; do
hydra_install_package $req
done
@@ -229,6 +229,8 @@ if [ "$num_devices" != "1" ]; then
hydra_sudo_run parted -s -- $dev set 1 raid on
done
+ hydra_install_package mdadm
+
mdadm --create --verbose $device --level=1 --raid-devices=$num_devices $physical_devices
# See https://bbs.archlinux.org/viewtopic.php?id=148250