TEST
This commit is contained in:
@@ -474,13 +474,13 @@ EOF
|
|||||||
done
|
done
|
||||||
[[ "$NUMBER_OF_PARITY_DISKS" -gt 0 ]] && echo -e "\n ✅ Generated $NUMBER_OF_PARITY_DISKS parity disk configuration(s)."
|
[[ "$NUMBER_OF_PARITY_DISKS" -gt 0 ]] && echo -e "\n ✅ Generated $NUMBER_OF_PARITY_DISKS parity disk configuration(s)."
|
||||||
|
|
||||||
|
# Close the disko.nix block
|
||||||
cat <<'EOF' >> ./nix-config/disks/disko.nix
|
cat <<'EOF' >> ./nix-config/disks/disko.nix
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
echo -e "\n ✅ Final disko configuration created."
|
||||||
echo -e "\n ✅ Final disko configuration created.
|
|
||||||
|
|
||||||
# --> Generate automatic unlock configuration in ./nix-config/disks/snapraid.nix
|
# --> Generate automatic unlock configuration in ./nix-config/disks/snapraid.nix
|
||||||
if [[ "$NUMBER_OF_CONTENT_DISKS" -gt 0 || "$NUMBER_OF_PARITY_DISKS" -gt 0 ]]; then
|
if [[ "$NUMBER_OF_CONTENT_DISKS" -gt 0 || "$NUMBER_OF_PARITY_DISKS" -gt 0 ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user