From c590411301ca45eac0e463c9c06178a1a7d7d424 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:41:59 -0400 Subject: [PATCH] Add nicer output for detects --- templates/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/install.sh b/templates/install.sh index 4bf9df0..68f3e1b 100755 --- a/templates/install.sh +++ b/templates/install.sh @@ -225,6 +225,7 @@ seed_config() { # detect:INTEL:800GB:1 # detect:DELLBOSS:240GB:0 # detect:PERC H330 Mini:200GB:0 + echo "Attempting to find disk for detect string '${o_target_disk}'" IFS=: read detect b_name b_size b_id <<<"${target_disk}" # Get the lsscsi output (exclude NVMe) lsscsi_data_all="$( lsscsi -s -N )" @@ -273,6 +274,8 @@ EOF if [[ ! -b ${target_disk} ]]; then echo "Invalid disk or disk not found for '${o_target_disk}'!" exit 1 + else + echo "Found target disk '${target_disk}'" fi echo