-
Notifications
You must be signed in to change notification settings - Fork 14
/
template.json
44 lines (44 loc) · 1.28 KB
/
template.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
40
41
42
43
44
{
"push": {
"name": "dduportal/boot2docker"
},
"variables": {
"B2D_ISO_FILE": "boot2docker.iso",
"B2D_ISO_CHECKSUM": "7e231d3c33e08f08b604fdc9a557b64b"
},
"builders": [{
"type": "parallels-iso",
"iso_url": "{{user `B2D_ISO_FILE`}}",
"iso_checksum_type": "md5",
"iso_checksum": "{{user `B2D_ISO_CHECKSUM`}}",
"boot_wait": "5s",
"guest_os_type": "linux-2.6",
"ssh_username": "docker",
"ssh_password": "tcuser",
"shutdown_command": "sudo poweroff",
"parallels_tools_mode": "disable",
"prlctl": [
["set", "{{.Name}}", "--memsize", "1536"],
["set", "{{.Name}}", "--time-sync", "off"]
]
}],
"provisioners": [
{
"type": "file",
"source": "{{user `B2D_ISO_FILE`}}",
"destination": "/tmp/boot2docker-vagrant.iso"
},
{
"type": "shell",
"execute_command": "{{ .Vars }} sudo -E -S sh '{{ .Path }}'",
"scripts": [
"./scripts/b2d-provision.sh"
]
}
],
"post-processors": [{
"type": "vagrant",
"vagrantfile_template": "vagrantfile.tpl",
"output": "boot2docker-{{.Provider}}.box"
}]
}