From ef8ec42df3f917f3c42a61ce6b54530aa6c69a85 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Mon, 15 Feb 2021 13:22:27 +0100 Subject: Adapt cloud init dependencies with pip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I16894abf3bf888e2ee8af802af05b652af15a4a8 Signed-off-by: Jan-Simon Möller --- packer/provision/agl_dependencies.sh | 8 ++++++-- packer/provision/agl_hwtest_dependencies.sh | 9 +++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'packer/provision') 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" -- cgit 1.2.3-korg