-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcontrib-stretch.json
70 lines (67 loc) · 2.04 KB
/
contrib-stretch.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
{
"description": "Vanilla Debian Stretch base box, built using contrib sources",
"variables": {
"box_version": "9.5.0",
"box_changelog": "* New point release"
},
"builders": [
{
"boot_command": [
"<esc><wait>",
"/install.amd/vmlinuz <wait>",
"netcfg/get_hostname=CARBON <wait>",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/stretch-preseed.cfg <wait>",
"auto=true <wait>",
"priority=critical <wait>",
"initrd=/install.amd/initrd.gz <wait>",
"<enter><wait>"
],
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "512"],
["modifyvm", "{{.Name}}", "--cpus", "2"],
["modifyvm", "{{.Name}}", "--vram", "128"],
["modifyvm", "{{.Name}}", "--vrde", "off"]
],
"disk_size": "20480",
"headless": false,
"http_directory": "http",
"iso_url": "file://./debian-9.7.0-amd64-DVD-1.iso",
"iso_checksum_type": "sha512",
"iso_checksum": "b0d217a2492e3a02372bf9e84b6230a2c1d8e98dfb0daf17d8aef4f4058ed5841b7dd87a64b567631cccca6e082f608b87782a53f0e50c02e503163112f95d4f",
"shutdown_command": "sudo /sbin/halt -p",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_port": "22",
"ssh_wait_timeout": "10000s",
"type": "virtualbox-iso",
"iso_interface": "ide",
"hard_drive_interface": "sata",
"guest_os_type": "Debian_64",
"guest_additions_mode": "attach",
"vm_name": "CARBON",
"output_directory": "contrib-stretch.build",
"format": "ova"
}
],
"provisioners": [
{
"type": "shell",
"pause_before": "5s",
"execute_command": "echo 'vagrant'| {{.Vars}} sudo --preserve-env --stdin bash '{{.Path}}'",
"environment_vars": [
"VAGRANT_BUILDER_FS=/",
"VAGRANT_BUILDER_HOSTNAME=CARBON"
],
"scripts": [
"scripts/vagrant-setup",
"scripts/vb-guest-additions.sh",
"scripts/minimize.sh"
]
}
],
"post-processors": [
{
"type": "vagrant"
}
]
}