diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-09-05 19:35:25 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-09-05 19:35:58 +0200 |
commit | 3d7ced4d02e87b99988fe575e9443bce58e5b6f1 (patch) | |
tree | c7d102950e14f695842d5d95345907fd3a45ec87 /patches/opnfv-fuel/0017-lib.sh-rm-Ubuntu-boot-entry-on-EFI-systems.patch | |
parent | aa31bf1127aebd6fa20b5ebabfd807fb90ba8373 (diff) |
u/fuel: Bump & rebase for aodh & ceilometer
Change-Id: I8cae89864e8e2d3bd56b4c7f16638fc742cde748
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'patches/opnfv-fuel/0017-lib.sh-rm-Ubuntu-boot-entry-on-EFI-systems.patch')
-rw-r--r-- | patches/opnfv-fuel/0017-lib.sh-rm-Ubuntu-boot-entry-on-EFI-systems.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/patches/opnfv-fuel/0017-lib.sh-rm-Ubuntu-boot-entry-on-EFI-systems.patch b/patches/opnfv-fuel/0017-lib.sh-rm-Ubuntu-boot-entry-on-EFI-systems.patch index 39ff8438..84905a4b 100644 --- a/patches/opnfv-fuel/0017-lib.sh-rm-Ubuntu-boot-entry-on-EFI-systems.patch +++ b/patches/opnfv-fuel/0017-lib.sh-rm-Ubuntu-boot-entry-on-EFI-systems.patch @@ -31,11 +31,11 @@ Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> 1 file changed, 10 insertions(+) diff --git a/mcp/scripts/lib.sh b/mcp/scripts/lib.sh -index 67c960a..ce217e9 100644 +index 1812663..884e852 100644 --- a/mcp/scripts/lib.sh +++ b/mcp/scripts/lib.sh -@@ -25,6 +25,15 @@ get_base_image() { - wget -P /tmp -N "${base_image}" +@@ -28,6 +28,15 @@ get_base_image() { + wget -P "${image_dir}" -N "${base_image}" } +cleanup_uefi() { @@ -50,11 +50,11 @@ index 67c960a..ce217e9 100644 cleanup_vms() { # clean up existing nodes for node in $(virsh list --name | grep -P '\w{3}\d{2}'); do -@@ -39,6 +48,7 @@ prepare_vms() { - local -n vnodes=$1 +@@ -43,6 +52,7 @@ prepare_vms() { local base_image=$2 + local image_dir=$3 + cleanup_uefi cleanup_vms - get_base_image "${base_image}" + get_base_image "${base_image}" "${image_dir}" envsubst '${SALT_MASTER},${CLUSTER_DOMAIN}' < \ |