p/fuel: Rebase after authorized_keys fix upstream
[armband.git] / patches / opnfv-fuel / 0012-maas-boot-resources-Add-arm64-architecture.patch
1 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2 Date: Fri, 11 Aug 2017 00:07:29 +0200
3 Subject: [PATCH] maas: boot-resources: Add arm64 architecture
4
5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 ---
7  mcp/patches/0003-maas-region-force-artifact-download.patch | 7 ++++++-
8  1 file changed, 6 insertions(+), 1 deletion(-)
9
10 diff --git a/mcp/patches/0003-maas-region-force-artifact-download.patch b/mcp/patches/0003-maas-region-force-artifact-download.patch
11 index f0ce50f..9997552 100644
12 --- a/mcp/patches/0003-maas-region-force-artifact-download.patch
13 +++ b/mcp/patches/0003-maas-region-force-artifact-download.patch
14 @@ -42,7 +42,7 @@ diff --git a/maas/files/maas-artifact-sync.sh b/maas/files/maas-artifact-sync.sh
15  new file mode 100644
16  --- /dev/null
17  +++ b/maas/files/maas-artifact-sync.sh
18 -@@ -0,0 +1,21 @@
19 +@@ -0,0 +1,26 @@
20  +{%- from "maas/map.jinja" import region with context %}
21  +#!/bin/bash
22  +function wait_for {
23 @@ -64,3 +64,8 @@ new file mode 100644
24  +wait_for 90 "! maas opnfv boot-resources is-importing | grep -q 'true'"
25  +maas opnfv rack-controllers import-boot-images || exit 3
26  +wait_for 30 "test -d /var/lib/maas/boot-resources/current/ubuntu/amd64"
27 ++maas opnfv boot-source-selection update 1 1 arches='amd64' arches='arm64' || exit 4
28 ++maas opnfv boot-resources import || exit 2
29 ++wait_for 90 "! maas opnfv boot-resources is-importing | grep -q 'true'"
30 ++maas opnfv rack-controllers import-boot-images || exit 3
31 ++wait_for 30 "test -d /var/lib/maas/boot-resources/current/ubuntu/arm64"