1 export group
="${AZURE_RESOURCE_GROUP:-"azure"}"
2 export location
="${AZURE_LOCATION:-"westus2"}"
4 img_file
=$
(echo azure
/*.vhd
)
5 img_name
="$(basename "${img_file}")"
6 img_name
="${img_name%".vhd"}"
7 export img_name
="${img_name//[._]/-}"