mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
27 lines
759 B
JSON
27 lines
759 B
JSON
{
|
|
"variables": {
|
|
"hetzner_cloud_api_key": null
|
|
},
|
|
"sensitive-variables": ["hetzner_cloud_api_key"],
|
|
"builders": [{
|
|
"type": "hcloud",
|
|
"snapshot_name": "archlinux-{{ isotime \"2006-01-02T15:04\" }}",
|
|
"snapshot_labels": {
|
|
"custom_image": "archlinux"
|
|
},
|
|
"token": "{{ user `hetzner_cloud_api_key` }}",
|
|
"image": "ubuntu-22.04",
|
|
"server_type": "cx11",
|
|
"ssh_username": "root",
|
|
"location": "fsn1",
|
|
"rescue": "linux64"
|
|
}],
|
|
"provisioners": [{
|
|
"type": "ansible",
|
|
"playbook_file": "playbooks/tasks/install_arch.yml",
|
|
"host_alias": "packer-base-image",
|
|
"inventory_directory": ".",
|
|
"use_proxy": false
|
|
}]
|
|
}
|