Setup runner script for the simulator in HOT
[integration.git] / test / mocks / mass-pnf-sim / deployment / heat / cloud-config.yaml
1 #cloud-config
2 package_upgrade: true
3 packages:
4   - apt-transport-https
5   - ca-certificates
6   - gnupg-agent
7   - software-properties-common
8   - docker-ce
9   - docker-ce-cli
10   - containerd.io
11   - docker-compose
12   - python3-virtualenv
13   - python3-pip
14 # Docker's apt key needs to be injected early in the boot as 'apt' cloud-init
15 # module doesn't support configuring key from file
16 bootcmd:
17   - [curl, "https://download.docker.com/linux/ubuntu/gpg", -o, /run/docker.key]
18   - [apt-key, add, /run/docker.key]
19 apt:
20   sources:
21     docker:
22       source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu $RELEASE stable"
23 runcmd:
24   - [pip3, install, tox]
25   - [bash, /root/mass-pnf-sim_run.sh]