Add basic hyperone example

This commit is contained in:
Miłosz Smółka 2019-01-25 11:15:36 +01:00
parent 3ce05c7c26
commit c1892b60af
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{
"variables": {
"token": "{{ env `HYPERONE_TOKEN` }}",
"project": "{{ env `HYPERONE_PROJECT` }}"
},
"builders": [
{
"token": "{{ user `token` }}",
"project": "{{ user `project` }}",
"type": "hyperone",
"source_image": "ubuntu",
"disk_size": 10,
"vm_type": "a1.nano"
}
],
"provisioners": [
{
"type": "shell",
"inline": [
"apt-get update",
"apt-get upgrade -y"
]
}
]
}