diff options
author | Michael S. Pedersen <michaelx.pedersen@intel.com> | 2021-01-15 09:59:13 +0000 |
---|---|---|
committer | Michael Pedersen <michaelx.pedersen@intel.com> | 2021-01-20 14:02:00 +0000 |
commit | 7eae11323bd3dfc857a66e8fd1049c103a4eac22 (patch) | |
tree | e66849bc56157c8005006ab0a18af9bfb420d2fa /playbooks/roles/pre-install | |
parent | eeb718b8b545d7afc52f9a2e9e18c9af5f7299b8 (diff) |
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 <michaelx.pedersen@intel.com>
Change-Id: Ie7deb0517cda02352936420a9d36348238caa467
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71784
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
Diffstat (limited to 'playbooks/roles/pre-install')
-rw-r--r-- | playbooks/roles/pre-install/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
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: '' |