Skip to content
Snippets Groups Projects
Commit 0b9f1bf2 authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

Merge branch 'packer-tweaks' into 'master'

Update packer build and use smaller BIOS boot partition

See merge request !546
parents f8b9927c ec52eb09
No related branches found
No related tags found
1 merge request!546Update packer build and use smaller BIOS boot partition
Pipeline #16767 passed
......@@ -10,16 +10,17 @@
"custom_image": "archlinux"
},
"token": "{{ user `hetzner_cloud_api_key` }}",
"image": "ubuntu-18.04",
"image": "ubuntu-20.04",
"server_type": "cx11",
"ssh_username": "root",
"location": "nbg1",
"location": "fsn1",
"rescue": "linux64"
}],
"provisioners": [{
"type": "ansible",
"playbook_file": "playbooks/tasks/install_arch.yml",
"host_alias": "packer-base-image",
"inventory_directory": "."
"inventory_directory": ".",
"use_proxy": false
}]
}
......@@ -9,5 +9,5 @@
roles:
- install_arch
vars:
- bootstrap_version: "2021.04.01"
- bootstrap_version: "2022.03.01"
- sshd_enable_includes: false
......@@ -14,7 +14,7 @@
when: ansible_facts['os_family'] == "Alpine"
- name: create GRUB embed partitions
command: sgdisk -g --clear -n 1:0:+10M {{ item }} -c 1:boot -t 1:ef02
command: sgdisk -g --clear -n 1:0:+1M {{ item }} -c 1:boot -t 1:ef02
with_items:
- "{{ system_disks }}"
register: sgdisk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment