-
Notifications
You must be signed in to change notification settings - Fork 3
/
ubuntu_13.04-docker.json
34 lines (34 loc) · 1.22 KB
/
ubuntu_13.04-docker.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
{
"builders": [{
"type": "vmware",
"iso_url": "http://releases.ubuntu.com/raring/ubuntu-13.04-server-amd64.iso",
"iso_checksum": "7d335ca541fc4945b674459cde7bffb9",
"iso_checksum_type": "md5",
"ssh_username": "ubuntu",
"ssh_password": "ubuntu",
"ssh_wait_timeout": "10m",
"shutdown_command": "echo ubuntu | sudo -S shutdown -P now",
"http_directory": ".",
"boot_command": [
"<esc><esc><enter><wait>",
"/install/vmlinuz noapic ",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
"debian-installer=en_US auto locale=en_US kbd-chooser/method=us ",
"hostname={{ .Name }} ",
"fb=false debconf/frontend=noninteractive ",
"keyboard-configuration/modelcode=SKIP keyboard-configuration/layout=USA ",
"keyboard-configuration/variant=USA console-setup/ask_detect=false ",
"initrd=/install/initrd.gz -- <enter>"
]
}],
"provisioners": [{
"type": "shell",
"script": "setup.sh",
"override": {
"vmware": {
"execute_command": "echo 'ubuntu' | sudo -S bash {{.Path}}"
}
}
}],
"post-processors": ["vagrant"]
}