1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
#!/bin/bash DB2_CURL_URL=${DB2_CURL_URL?Error: IBM IM curl_url be defined in tests/00-setup} DB2_CURL_OPTS=${DB2_CURL_OPTS?Error: IBM IM curl_OPTS be defined in tests/00-setup} # Add a local configuration file cat << EOF > local.yaml ibm-repo: db2_curl_url: "$DB2_CURL_URL" db2_curl_opts: "$DB2_CURL_OPTS" EOF sudo add-apt-repository ppa:juju/stable -y sudo apt-get update sudo apt-get install amulet python3 -y |