-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprecise64.json
63 lines (63 loc) · 2.06 KB
/
precise64.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
{
"builders": [
{
"type": "virtualbox-iso",
"vm_name": "precise64",
"guest_os_type": "Ubuntu_64",
"hard_drive_interface": "sata",
"iso_url": "http://old-releases.ubuntu.com/releases/12.04.1/ubuntu-12.04.1-server-amd64.iso",
"iso_checksum": "a8c667e871f48f3a662f3fbf1c3ddb17",
"iso_checksum_type": "md5",
"ssh_wait_timeout": "120m",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"http_directory": "www",
"output_directory": "precise64",
"boot_wait": "5s",
"boot_command": [
"<esc><esc><enter><wait>",
"/install/vmlinuz noapic ",
"auto=true url={{ .HTTPIP }}:{{ .HTTPPort }} ",
"hostname=precise64 fb=false ",
"preseed/late_command=\"",
"in-target wget -q -O /tmp/postinstall.sh http://{{ .HTTPIP }}:{{ .HTTPPort }}/d-i/precise/postinstall.sh ; ",
"in-target /bin/sh /tmp/postinstall.sh; ",
"\" ",
"initrd=/install/initrd.gz -- <enter>"
],
"shutdown_command": "sudo shutdown -P now"
}
],
"provisioners": [
{
"type": "file",
"source": "files/puppetlabs.gpg",
"destination": "/tmp/puppetlabs.gpg"
},
{
"type": "file",
"source": "files/puppetlabs-precise.list",
"destination": "/tmp/puppetlabs.list"
},
{
"type": "shell",
"scripts": [
"scripts/common/vagrant.sh",
"scripts/ubuntu/puppet.sh",
"scripts/ubuntu/vboxguest.sh",
"scripts/ubuntu/cleanup.sh"
]
}
],
"post-processors": [
{
"type": "vagrant",
"compression_level": 5,
"override": {
"virtualbox": {
"output": "precise64.box"
}
}
}
]
}