diff --git a/scripts/asgard-partitions b/scripts/asgard-partitions index b9e3dd2..1298582 100755 --- a/scripts/asgard-partitions +++ b/scripts/asgard-partitions @@ -36,6 +36,7 @@ done echo "----> Remove previous MDs" mdadm --stop --scan || true +mkdir -p /etc/mdadm echo 'AUTO -all ARRAY UUID=00000000:00000000:00000000:00000000' > /etc/mdadm/mdadm.conf diff --git a/scripts/niflheim-partitions b/scripts/niflheim-partitions index 8e9884b..ca6e555 100755 --- a/scripts/niflheim-partitions +++ b/scripts/niflheim-partitions @@ -36,6 +36,7 @@ done echo "----> Remove previous MDs" mdadm --stop --scan || true +mkdir -p /etc/mdadm echo 'AUTO -all ARRAY UUID=00000000:00000000:00000000:00000000' > /etc/mdadm/mdadm.conf