summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/tasks/install-ubuntu.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bootstrap/tasks/install-ubuntu.yml')
-rw-r--r--roles/bootstrap/tasks/install-ubuntu.yml10
1 files changed, 3 insertions, 7 deletions
diff --git a/roles/bootstrap/tasks/install-ubuntu.yml b/roles/bootstrap/tasks/install-ubuntu.yml
index 89f351f..3329ff5 100644
--- a/roles/bootstrap/tasks/install-ubuntu.yml
+++ b/roles/bootstrap/tasks/install-ubuntu.yml
@@ -99,7 +99,7 @@
- name: "Configure Ubuntu boot entries"
ansible.builtin.template:
- src: "refind_ubuntu.conf.j2"
+ src: "ubuntu/ubuntu.conf.j2"
dest: "{{ mnt_boot_path }}/EFI/BOOT/ubuntu.conf"
mode: "0644"
# NOTE: this is skipped because the docker test doesn't have proper EFI/BOOT directory created
@@ -112,11 +112,7 @@
mode: "0755"
- name: "Install kernel sync script for EFI partition"
- ansible.builtin.copy:
+ ansible.builtin.template:
+ src: "ubuntu/refind-sync-kernel.j2"
dest: "{{ mnt_root_path }}/etc/kernel/postinst.d/refind-sync-kernel"
mode: "0755"
- content: |
- #!/bin/sh
- mkdir -p /boot/efi/EFI/ubuntu
- cp /boot/vmlinuz /boot/efi/EFI/ubuntu/
- cp /boot/initrd.img /boot/efi/EFI/ubuntu/