From 293e0d8b450741b5e82788c790b3bf373674888d Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 13 Feb 2021 07:28:45 -0600 Subject: [PATCH] Add update-grub. --- tasks/miner/drivers/amdgpu.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tasks/miner/drivers/amdgpu.yml b/tasks/miner/drivers/amdgpu.yml index 7ff810a..6baf376 100644 --- a/tasks/miner/drivers/amdgpu.yml +++ b/tasks/miner/drivers/amdgpu.yml @@ -66,7 +66,7 @@ state: present when: amdgpu_install.failed and hwe_kernel.stdout != "0" and ga_kernel.failed -- name: AMDGPU | Prepare To Boot GA Kernel +- name: AMDGPU | Prepare GRUB To Boot GA Kernel lineinfile: path: /etc/default/grub regexp: '^GRUB_DEFAULT=' @@ -75,6 +75,10 @@ backup: yes when: amdgpu_install.failed and hwe_kernel.stdout != "0" and ga_kernel.failed +- name: AMDGPU | Update GRUB + shell: update-grub + when: amdgpu_install.failed and hwe_kernel.stdout != "0" and ga_kernel.failed + - name: AMDGPU | Prepare Cron Job To SCM cron: user: root @@ -120,6 +124,10 @@ backup: yes when: amdgpu_install.failed and hwe_kernel.stdout != "0" +- name: AMDGPU | Update GRUB + shell: update-grub + when: amdgpu_install.failed and hwe_kernel.stdout != "0" + - name: AMDGPU | Prepare Cron Job To SCM cron: user: root