diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2021-02-15 13:22:27 +0100 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2021-02-15 13:22:27 +0100 |
commit | ef8ec42df3f917f3c42a61ce6b54530aa6c69a85 (patch) | |
tree | cc3977a5cb4b35036403ae086c2aae7c3e31c07a /packer/provision | |
parent | d35b392206252b5273f0df2e958b2c38da8003e3 (diff) |
Adapt cloud init dependencies with pip
Change-Id: I16894abf3bf888e2ee8af802af05b652af15a4a8
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'packer/provision')
-rw-r--r-- | packer/provision/agl_dependencies.sh | 8 | ||||
-rw-r--r-- | packer/provision/agl_hwtest_dependencies.sh | 9 |
2 files changed, 13 insertions, 4 deletions
diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh index a46aa943..3d81d92b 100644 --- a/packer/provision/agl_dependencies.sh +++ b/packer/provision/agl_dependencies.sh @@ -38,7 +38,7 @@ DEBIAN_FRONTEND=noninteractive apt-get update && \ tree rsync python-yaml python-requests curl tar docker.io pandoc python3 \ ruby-all-dev ruby-ffi ruby-ffi-* jekyll ruby-redcarpet mkdocs \ python-pip python-simplejson g++-multilib make zip unzip iperf3 \ - debian-keyring debian-archive-keyring python3-yaml python3-pip python-pip + debian-keyring debian-archive-keyring python3-yaml python3-pip python-pip DEBIAN_FRONTEND=noninteractive apt-get clean @@ -124,8 +124,12 @@ sudo pip3 install --force-reinstall --ignore-installed jinja2 sudo pip3 install --upgrade jinja2 # updates for cloud-init +pip3 install --upgrade oauthlib +pip3 install --upgrade configobj>=5.0.2 +pip3 install --upgrade pyyaml +pip3 install --upgrade requests +pip3 install --upgrade jsonschema pip3 install --upgrade jsonpatch -pip3 install --upgrade cloud-init python -c "import sys; print sys.path" diff --git a/packer/provision/agl_hwtest_dependencies.sh b/packer/provision/agl_hwtest_dependencies.sh index 530dd553..2bd3b9b8 100644 --- a/packer/provision/agl_hwtest_dependencies.sh +++ b/packer/provision/agl_hwtest_dependencies.sh @@ -79,9 +79,14 @@ sudo pip install --upgrade jinja2 sudo pip3 install --force-reinstall --ignore-installed jinja2 sudo pip3 install --upgrade jinja2 -# fix for cloud-init +# updates for cloud-init +pip3 install --upgrade oauthlib +pip3 install --upgrade configobj>=5.0.2 +pip3 install --upgrade pyyaml +pip3 install --upgrade requests +pip3 install --upgrade jsonschema pip3 install --upgrade jsonpatch -pip3 install --upgrade cloudinit + python -c "import sys; print sys.path" |