We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 066bf1b commit d20058aCopy full SHA for d20058a
bash/bootable-media.sh
@@ -1,8 +1,14 @@
1
function build_bootable_media() {
2
- log info "would build build_bootable_media: '${*}'"
+ log debug "would build build_bootable_media: '${*}'"
3
4
declare -r -g bootable_id="${1}" # read-only variable from here
5
6
+ # Check if the bootable_id is set, otherwise bomb
7
+ if [[ -z "${bootable_id}" ]]; then
8
+ log error "No bootable_id specified; please specify one of: ${bootable_inventory_ids[*]}"
9
+ exit 1
10
+ fi
11
+
12
declare -g -A bootable_info=()
13
get_bootable_info_dict "${bootable_id}"
14
0 commit comments