summaryrefslogtreecommitdiff
path: root/roles/cloud/install/templates/hetzner_installimage.conf.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-08-23 19:21:23 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-08-23 19:21:23 +0200
commitc95da45995cb6861edbb14afd51bb81f5602c10f (patch)
treeb7b994de310d2b63505e4ebb431832bd8cf9552b /roles/cloud/install/templates/hetzner_installimage.conf.j2
parentadd ownca x509/certifcate provider (diff)
cloud/hetzner: add support for arm64 based machines
Diffstat (limited to 'roles/cloud/install/templates/hetzner_installimage.conf.j2')
-rw-r--r--roles/cloud/install/templates/hetzner_installimage.conf.j25
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/cloud/install/templates/hetzner_installimage.conf.j2 b/roles/cloud/install/templates/hetzner_installimage.conf.j2
index acdf42c4..5e16000d 100644
--- a/roles/cloud/install/templates/hetzner_installimage.conf.j2
+++ b/roles/cloud/install/templates/hetzner_installimage.conf.j2
@@ -13,7 +13,10 @@ DRIVE1 {{ install.disks.primary }}
DRIVE1 /dev/sda
{% endif %}
BOOTLOADER grub
-PART /boot ext4 {{ hetzner_boot_size }}
+{% if (install.efi | default(false)) %}
+PART /boot/efi esp {{ hetzner_efi_esp_size }}
+{% endif %}
+PART /boot ext4 {{ hetzner_boot_size }}
{% set system_lvm_size = install.system_lvm.size | default(hetzner_system_lvm_size_default) %}
PART lvm {{ host_name }} {{ system_lvm_size }}
{% if system_lvm_size != "all" %}