1-get-initial-setup-working #2

Merged
hygienic-books merged 92 commits from 1-get-initial-setup-working into main 2023-03-05 03:02:48 +00:00
Showing only changes of commit fdc9046726 - Show all commits

View File

@ -112,6 +112,10 @@ function select_part () {
if we_have_exactly_one_part "${part_type}" "${parts}"; then if we_have_exactly_one_part "${part_type}" "${parts}"; then
part="${parts}" part="${parts}"
else else
if [[ "${part_type}" == 'zfs' ]]; then
2> printf -- '%s\n' 'We have more than one ZFS (BF00) partition to pick for installation. Cowardly exiting ...'
exit 77
fi
printf -- '%s\n' 'Which '"${part_type^^}"' partition do you want us to use?' printf -- '%s\n' 'Which '"${part_type^^}"' partition do you want us to use?'
while IFS= read -r found_part; do while IFS= read -r found_part; do
enriched_parts+=("'${found_part}'"' (aka ID '"'$(get_drive_id "${found_part}")'"')') enriched_parts+=("'${found_part}'"' (aka ID '"'$(get_drive_id "${found_part}")'"')')