1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-04 18:16:03 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
Kristian Klausen 645b1a003c
Add small script to fetch SSH keys from the EC2 metadata service
This is meant to be used in the Hetzner cloud sandbox project, so SSH
keys can be injected when a new VM is created from e.g. a CI pipeline,
so that the CI pipeline can SSH to the newly created VM.

The EC2 metadata service is used over the Hetzner metadata service, as
it is supported by more providers (including Hetzner).
2023-08-19 22:02:13 +02:00
Kristian Klausen 0ba3f222d2
packer: Convert from JSON to HCL
As of version 1.7.0, HCL2 is the preferred way to write Packer
templates. The documentation reflect this and it is easier if we use the
preferred format.
2023-08-19 21:37:19 +02:00
Evangelos Foutras 17f4b387e5
packer: change image to ubuntu-22.04 2022-04-26 03:42:23 +03:00
Evangelos Foutras ec52eb098f
Update packer build and use smaller BIOS boot partition
- Create packer builder in FSN1 and change image to ubuntu-20.04
- Add "use_proxy: false" to provisioner config to work around [1]
- Reduce the size of the BIOS boot partition to 1M (from 10M) [2]
- Update bootstrap_version to 2022.03.01

[1] https://github.com/hashicorp/packer-plugin-ansible/issues/69
[2] https://www.gnu.org/software/grub/manual/grub/html_node/BIOS-installation.html
2022-03-28 02:26:20 +03:00
Sven-Hendrik Haase 2c2c2c05a9 Packer: Set label custom_image=archlinnux 2019-08-10 00:59:08 +02:00
Sven-Hendrik Haase 0d4e14254c Allow ansible to use the hcloud token 2019-03-24 23:11:01 +01:00
Sven-Hendrik Haase d5cc2fa74c Add packer stuff 2019-02-14 05:41:14 +01:00