diff options
Diffstat (limited to 'roles/bootstrap/templates/archlinux')
| -rw-r--r-- | roles/bootstrap/templates/archlinux/archlinux.conf.j2 | 13 | ||||
| -rw-r--r-- | roles/bootstrap/templates/archlinux/refind-sync-kernel.j2 | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/roles/bootstrap/templates/archlinux/archlinux.conf.j2 b/roles/bootstrap/templates/archlinux/archlinux.conf.j2 new file mode 100644 index 0000000..0551cb3 --- /dev/null +++ b/roles/bootstrap/templates/archlinux/archlinux.conf.j2 @@ -0,0 +1,13 @@ +menuentry "Arch Linux" { + volume "boot" + loader \EFI\arch\vmlinuz-linux + initrd \EFI\arch\initramfs-linux.img + options "root=PARTLABEL={{ partition_root.name }} rw console=tty1{% if bootstrap_mac %} {{ bootstrap_mac_boot_args }}{% endif %}" +} + +menuentry "Arch Linux (terminal)" { + volume "boot" + loader \EFI\arch\vmlinuz-linux + initrd \EFI\arch\initramfs-linux.img + options "root=PARTLABEL={{ partition_root.name }} rw console=tty1 systemd.unit=multi-user.target{% if bootstrap_mac %} {{ bootstrap_mac_boot_args }}{% endif %}" +} diff --git a/roles/bootstrap/templates/archlinux/refind-sync-kernel.j2 b/roles/bootstrap/templates/archlinux/refind-sync-kernel.j2 new file mode 100644 index 0000000..c53ed96 --- /dev/null +++ b/roles/bootstrap/templates/archlinux/refind-sync-kernel.j2 @@ -0,0 +1,4 @@ +#!/bin/sh +mkdir -p /boot/efi/EFI/arch +cp /boot/vmlinuz-linux /boot/efi/EFI/arch/ +cp /boot/initramfs-linux.img /boot/efi/EFI/arch/ |
