Add basic hyperone example
This commit is contained in:
parent
3ce05c7c26
commit
c1892b60af
|
@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue