about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap/99_ensure_config_variables4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/99_ensure_config_variables b/bootstrap/99_ensure_config_variables
index fa47a974..46ebf916 100755
--- a/bootstrap/99_ensure_config_variables
+++ b/bootstrap/99_ensure_config_variables
@@ -64,10 +64,10 @@ if ! [ "$NIX_ENVIRONMENT_VARIABLES_SET" ]; then
                 _disk="$(jq '.item' "$_disk" | tr -d "\"")"
                 _disk_serial="$(udevadm info --query=all --name="$_disk" | grep ID_SERIAL= | awk 'BEGIN{FS="="}{print $2}')"
                 case "$_disk" in
-                    "nvme*")
+                    "nvme"*)
                         _nix_disk="nvme-$_disk_serial"
                         ;;
-                    "sd*")
+                    "sd"*)
                         _nix_disk="ata-$_disk_serial"
                         ;;
                     *)