1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-23 23:16:04 +02:00
infrastructure/packer/archlinux.json
2019-08-10 00:59:08 +02:00

26 lines
731 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-18.04",
"server_type": "cx11",
"ssh_username": "root",
"location": "nbg1",
"rescue": "linux64"
}],
"provisioners": [{
"type": "ansible",
"playbook_file": "playbooks/tasks/install_arch.yml",
"host_alias": "packer-base-image",
"inventory_directory": "."
}]
}