|
|
|
|
483
|
PASSWORD=$(openssl rand -base64 32 | tr -dc A-Za-z0-9 | head -c ${MINIMUM_PASSWORD_LENGTH})
|
483
|
PASSWORD=$(openssl rand -base64 32 | tr -dc A-Za-z0-9 | head -c ${MINIMUM_PASSWORD_LENGTH})
|
484
|
fi
|
484
|
fi
|
485
|
|
485
|
|
|
|
486
|
+if [[ $IMAGE_TYPE == 'beaglebonewireless' ]]; then
|
|
|
487
|
+ IMAGE_TYPE='beaglebonewifi'
|
|
|
488
|
+fi
|
|
|
489
|
+
|
486
|
# Move any existing images into a build subdirectory
|
490
|
# Move any existing images into a build subdirectory
|
487
|
image_types=( xz img sig vdi qcow2 )
|
491
|
image_types=( xz img sig vdi qcow2 )
|
488
|
for im in "${image_types[@]}"
|
492
|
for im in "${image_types[@]}"
|