aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-11-13 16:04:55 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-13 16:04:55 +0000
commit167e704d40bb40b1edf2e014444f0201a28178fa (patch)
treecaaab73785e68760f8cf340274ad0ff1313cf39f /ci
parent494595bd9e73b2f004b4b9877d46ea6521c7b688 (diff)
parentfde3efa0766d3a2df49fc9872bd76d6611a6c8ec (diff)
Merge "AArch64: deploy.sh: Add AAVMF install prereq"
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index f4d334896..e980505df 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -274,6 +274,12 @@ if [ "${DEPLOY_TYPE}" = 'baremetal' ]; then
python python-ipaddress python-jinja2 python-yaml
fi
+# AArch64 VMs use AAVMF (guest UEFI)
+if [ "$(uname -m)" = 'aarch64' ]; then
+ [ -n "$(command -v apt-get)" ] && sudo apt-get install -y qemu-efi
+ [ -n "$(command -v yum)" ] && sudo yum install -y --skip-broken AAVMF
+fi
+
if ! virsh list >/dev/null 2>&1; then
notify "[ERROR] This script requires hypervisor access\n" 1>&2
exit 1