add key for cloud archive 21/42921/1
authorGuo Ruijing <ruijing.guo@intel.com>
Sun, 24 Sep 2017 22:59:19 +0000 (06:59 +0800)
committerGuo Ruijing <ruijing.guo@intel.com>
Sun, 24 Sep 2017 23:03:18 +0000 (07:03 +0800)
key for cloud archive is missing in xenial cloud image.

Change-Id: I1f38c90ba5e77ebb99d5075fb1988ac82d47718f
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
ci/03-maasdeploy.sh

index 668eab9..bc0c2cb 100755 (executable)
@@ -45,6 +45,8 @@ NODE_ARC="$NODE_ARCHES/generic"
 
 # Install the packages needed
 echo_info "Installing and upgrading required packages"
+sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5EDB1B62EC4926EA
+sudo apt-get update -y
 sudo apt-get install software-properties-common -y
 sudo apt-add-repository ppa:juju/stable -y
 sudo apt-add-repository ppa:maas/stable -y