forked from udacity/ud381
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.json
39 lines (39 loc) · 961 Bytes
/
default.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"variables": {
"home": "{{env `HOME`}}",
"cloud_token": "{{env `VAGRANT_CLOUD_TOKEN`}}",
"version": "{{env `BOX_VERSION`}}"
},
"builders": [
{
"type": "virtualbox-ovf",
"source_path": "{{user `home`}}/.vagrant.d/boxes/box-cutter-VAGRANTSLASH-ubuntu1404-i386/1.0.2/virtualbox/box.ovf",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"headless": true,
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "2048"],
["modifyvm", "{{.Name}}", "--cpus", "2"]
],
"ssh_wait_timeout": "30s",
"shutdown_command": "sudo shutdown -h now"
}
],
"provisioners": [
{
"type": "shell",
"script": "provision.sh"
}
],
"post-processors": [
[{
"type": "vagrant"
},
{
"type": "vagrant-cloud",
"box_tag": "udacity/ud381",
"access_token": "{{user `cloud_token`}}",
"version": "{{user `version`}}"
}]
]
}