summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/templates/ubuntu/refind-sync-kernel.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bootstrap/templates/ubuntu/refind-sync-kernel.j2')
-rw-r--r--roles/bootstrap/templates/ubuntu/refind-sync-kernel.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/bootstrap/templates/ubuntu/refind-sync-kernel.j2 b/roles/bootstrap/templates/ubuntu/refind-sync-kernel.j2
new file mode 100644
index 0000000..3b72d4e
--- /dev/null
+++ b/roles/bootstrap/templates/ubuntu/refind-sync-kernel.j2
@@ -0,0 +1,4 @@
+#!/bin/sh
+mkdir -p /boot/efi/EFI/ubuntu
+cp /boot/vmlinuz /boot/efi/EFI/ubuntu/
+cp /boot/initrd.img /boot/efi/EFI/ubuntu/