-
Notifications
You must be signed in to change notification settings - Fork 1
/
debian-7.5-amd64.json
109 lines (109 loc) · 3.42 KB
/
debian-7.5-amd64.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"variables": {
"chef_version": "provisionerless",
"mirror": "http://cdimage.debian.org/debian-cd"
},
"builders": [
{
"type": "virtualbox-iso",
"boot_command": [
"<esc><wait>",
"install <wait>",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-7/preseed.cfg <wait>",
"debian-installer=en_US <wait>",
"auto <wait>",
"locale=en_US <wait>",
"kbd-chooser/method=us <wait>",
"keyboard-configuration/xkb-keymap=us <wait>",
"netcfg/get_hostname={{ .Name }} <wait>",
"netcfg/get_domain=vagrantup.com <wait>",
"fb=false <wait>",
"debconf/frontend=noninteractive <wait>",
"console-setup/ask_detect=false <wait>",
"console-keymaps-at/keymap=us <wait>",
"<enter><wait>"
],
"boot_wait": "10s",
"headless": true,
"output_directory": "virtualbox",
"disk_size": 4096,
"guest_os_type": "Debian_64",
"http_directory": "http",
"iso_checksum": "200948e5885da3b67730293a1426845f90239c62",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/7.5.0/amd64/iso-cd/debian-7.5.0-amd64-CD-1.iso",
"ssh_username": "cloud-user",
"ssh_password": "unsecurepass",
"ssh_port": 22,
"ssh_wait_timeout": "10000s",
"shutdown_command": "echo 'cloud-user'|sudo -S /sbin/shutdown -hP now",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"virtualbox_version_file": ".vbox_version",
"vboxmanage": [
[ "modifyvm", "{{.Name}}", "--memory", "1024" ],
[ "modifyvm", "{{.Name}}", "--cpus", "1" ]
]
},
{
"type": "qemu",
"boot_command": [
"<esc><wait>",
"install <wait>",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-7/preseed.cfg <wait>",
"debian-installer=en_US <wait>",
"auto <wait>",
"locale=en_US <wait>",
"kbd-chooser/method=us <wait>",
"keyboard-configuration/xkb-keymap=us <wait>",
"netcfg/get_hostname={{ .Name }} <wait>",
"netcfg/get_domain=vagrantup.com <wait>",
"fb=false <wait>",
"debconf/frontend=noninteractive <wait>",
"console-setup/ask_detect=false <wait>",
"console-keymaps-at/keymap=us <wait>",
"<enter><wait>"
],
"accelerator": "kvm",
"output_directory": "qemu",
"disk_size": 4096,
"format": "qcow2",
"headless": true,
"http_directory": "http",
"iso_checksum": "200948e5885da3b67730293a1426845f90239c62",
"iso_checksum_type": "sha1",
"iso_url": "{{user `mirror`}}/7.5.0/amd64/iso-cd/debian-7.5.0-amd64-CD-1.iso",
"ssh_username": "cloud-user",
"ssh_password": "unsecurepass",
"ssh_port": 22,
"ssh_wait_timeout": "10000s",
"shutdown_command": "echo 'cloud-user'|sudo -S /sbin/shutdown -hP now",
"boot_wait": "10s"
}
],
"provisioners": [
{
"type": "file",
"source": "scripts/common.sh",
"destination": "/tmp/common.sh"
},
{
"type": "file",
"source": "scripts/firstboot.sh",
"destination": "/tmp/firstboot.sh"
},
{
"type": "file",
"source": "files/debian/cloud.cfg",
"destination": "/tmp/cloud.cfg"
},
{
"type": "shell",
"execute_command": "echo 'cloud-user' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"scripts": [
"scripts/debian/update.sh",
"scripts/openstack-debian.sh",
"scripts/cleanup.sh"
]
}
]
}