From 7eae11323bd3dfc857a66e8fd1049c103a4eac22 Mon Sep 17 00:00:00 2001 From: "Michael S. Pedersen" Date: Fri, 15 Jan 2021 09:59:13 +0000 Subject: Fix a set of issues with K8s deployment [KUB-37] BMRA v2.0 fails to install on Centos 8.3 [KUB-38] [BMRA] Helm repo is unreachable [KUB-39] [BMRA] CMK binary doesn't run on Centos 8 [KUB-40] [BMRA] CMK isn't installed on host [KUB-41] [Equinix Metal] Unexpected GRUB settings on CentOS Signed-off-by: Michael S. Pedersen Change-Id: Ie7deb0517cda02352936420a9d36348238caa467 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71784 Tested-by: jenkins-ci Reviewed-by: Rihab Banday --- playbooks/roles/pre-install/tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'playbooks') diff --git a/playbooks/roles/pre-install/tasks/main.yml b/playbooks/roles/pre-install/tasks/main.yml index 9b725c7..da21c16 100644 --- a/playbooks/roles/pre-install/tasks/main.yml +++ b/playbooks/roles/pre-install/tasks/main.yml @@ -44,3 +44,15 @@ when: - not pybin.stat.exists - pypath.rc != 0 + +- name: Fix /etc/default/grub (1/2) + replace: + path: /etc/default/grub + regexp: '''' + replace: '"' + +- name: Fix /etc/default/grub (2/2) + replace: + path: /etc/default/grub + regexp: 'export ' + replace: '' -- cgit 1.2.3-korg