Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion examples/arm/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ function setup_fvp() {

# Mandatory user arg --i-agree-to-the-contained-eula
eula_acceptance="${1:-'.'}"
eula_acceptance_by_variable="${ARM_FVP_INSTALL_I_AGREE_TO_THE_CONTAINED_EULA:-False}"

if [[ "${eula_acceptance}" != "--i-agree-to-the-contained-eula" ]]; then
if [[ ${ARM_FVP_INSTALL_I_AGREE_TO_THE_CONTAINED_EULA} != "True" ]]; then
if [[ ${eula_acceptance_by_variable} != "True" ]]; then
echo "Must pass first positional argument '--i-agree-to-the-contained-eula' to agree to EULA associated with downloading the FVP. Exiting!"
exit 1
else
Expand Down
Loading