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