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