From 11143873e70e65d07d73617b8af29a07adffc1aa Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Fri, 13 Oct 2017 23:28:38 +0200 Subject: u/fuel: Bump & rebase for VCP state split Change-Id: I6f0367d75ea831de78ced480ea73d1cd10680b80 --- .../0012-lib.sh-rm-Ubuntu-boot-entry-on-EFI-systems.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'patches/opnfv-fuel/0012-lib.sh-rm-Ubuntu-boot-entry-on-EFI-systems.patch') diff --git a/patches/opnfv-fuel/0012-lib.sh-rm-Ubuntu-boot-entry-on-EFI-systems.patch b/patches/opnfv-fuel/0012-lib.sh-rm-Ubuntu-boot-entry-on-EFI-systems.patch index e0388403..6164d23d 100644 --- a/patches/opnfv-fuel/0012-lib.sh-rm-Ubuntu-boot-entry-on-EFI-systems.patch +++ b/patches/opnfv-fuel/0012-lib.sh-rm-Ubuntu-boot-entry-on-EFI-systems.patch @@ -31,14 +31,14 @@ Signed-off-by: Alexandru Avadanii 1 file changed, 10 insertions(+) diff --git a/mcp/scripts/lib.sh b/mcp/scripts/lib.sh -index fcc5d76..c0eb330 100644 +index 3a6deec..c355141 100644 --- a/mcp/scripts/lib.sh +++ b/mcp/scripts/lib.sh -@@ -28,6 +28,15 @@ get_base_image() { +@@ -28,6 +28,15 @@ function get_base_image { wget -P "${image_dir}" -N "${base_image}" } -+cleanup_uefi() { ++function cleanup_uefi { + # Clean up Ubuntu boot entry if cfg01, kvm nodes online from previous deploy + # shellcheck disable=SC2086 + ssh ${SSH_OPTS} "ubuntu@${SALT_MASTER}" "sudo salt -C 'kvm* or cmp*' cmd.run \ @@ -47,10 +47,10 @@ index fcc5d76..c0eb330 100644 + xargs -I{} efibootmgr --delete-bootnum --bootnum {}\"" || true +} + - cleanup_vms() { + function cleanup_vms { # clean up existing nodes for node in $(virsh list --name | grep -P '\w{3}\d{2}'); do -@@ -45,6 +54,7 @@ prepare_vms() { +@@ -45,6 +54,7 @@ function prepare_vms { local base_image=$2 local image_dir=$3 -- cgit 1.2.3-korg