diff options
author | 2020-12-16 09:15:09 +0000 | |
---|---|---|
committer | 2020-12-16 09:15:09 +0000 | |
commit | ab27141d3585af25de56f00cb763f08d734299e0 (patch) | |
tree | 01bfef6f105fa23d651a5c3cdedfc14435964771 /deployment/heat/cloud-config.yaml | |
parent | 4c7c4eb6b8f43e3dd27a0581de62cb93148f649e (diff) | |
parent | b761beb3ea2bafd786473775b5ba0afcb3fa2fd3 (diff) |
Merge "Move Masspnf simulator code from Integration repository to it's own"
Diffstat (limited to 'deployment/heat/cloud-config.yaml')
-rw-r--r-- | deployment/heat/cloud-config.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/deployment/heat/cloud-config.yaml b/deployment/heat/cloud-config.yaml new file mode 100644 index 0000000..8203a84 --- /dev/null +++ b/deployment/heat/cloud-config.yaml @@ -0,0 +1,30 @@ +#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 + - maven + - openjdk-8-jdk-headless +# 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] + - [mkdir, /root/.m2] + - [curl, "https://git.onap.org/oparent/plain/settings.xml", -o, /root/.m2/settings.xml] + - [update-java-alternatives, -s, java-1.8.0-openjdk-amd64] + - [bash, /root/mass-pnf-sim_run.sh] |