This repository has been archived by the owner on Jan 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjessie.json
95 lines (95 loc) · 4.02 KB
/
jessie.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
{
"variables": {
"vm_name": "Debian-8.1.0-amd64",
"disk_size": "2000",
"memory_size": "1024",
"cpus": "1",
"iso_checksum": "7844a8e84afe7a168a8f893b298d0dd06d869deffc73fef27791a252688a9d2affc6e4f46b2c5db4794054cec84365f2107c012f1025eb85826bb340134932ec",
"iso_checksum_type": "sha512",
"debian_version": "8.1.0",
"debian_arch": "amd64",
"atlas_token": "{{env `HESTIA_ATLAS_TOKEN`}}",
"atlas_username": "{{env `HESTIA_ATLAS_USERNAME`}}",
"atlas_name": "jessie",
"version": "0.3.0"
},
"builders": [
{
"type": "virtualbox-iso",
"boot_command": [
"<esc><wait>",
"install <wait>",
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg <wait>",
"debian-installer=en_US <wait>",
"auto <wait>",
"locale=en_US <wait>",
"kbd-chooser/method=fr <wait>",
"keyboard-configuration/xkb-keymap=fr <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",
"disk_size": "{{ user `disk_size` }}",
"guest_os_type": "Debian_64",
"http_directory": "http/debian-{{ user `debian_version` }}-{{ user `debian_arch` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "{{ user `iso_checksum_type` }}",
"iso_url": "http://cdimage.debian.org/cdimage/release/{{ user `debian_version` }}/{{ user `debian_arch` }}/iso-cd/debian-{{ user `debian_version` }}-{{ user `debian_arch` }}-netinst.iso",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "10000s",
"shutdown_command": "sudo -S /sbin/shutdown -hP now",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"virtualbox_version_file": ".vbox_version",
"vm_name": "{{ user `vm_name` }}",
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "{{ user `memory_size` }}"],
["modifyvm", "{{.Name}}", "--cpus", "{{ user `cpus` }}"]
]
}
],
"provisioners": [
{
"type": "shell",
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
"scripts": [
"scripts/debian-{{ user `debian_version` }}-{{ user `debian_arch` }}/update.sh",
"scripts/debian-{{ user `debian_version` }}-{{ user `debian_arch` }}/sudoers.sh",
"scripts/debian-{{ user `debian_version` }}-{{ user `debian_arch` }}/vagrant.sh",
"scripts/debian-{{ user `debian_version` }}-{{ user `debian_arch` }}/vbguest.sh",
"scripts/debian-{{ user `debian_version` }}-{{ user `debian_arch` }}/cleanup.sh"
]
}
],
"push": {
"name": "{{user `atlas_username`}}/{{user `atlas_name`}}",
"token": "{{user `atlas_name`}}",
"vcs": true
},
"post-processors": [
[
{
"type": "vagrant",
"compression_level": 9,
"output":"vagrant/debian/debian-{{ user `debian_version` }}-{{.Provider}}.box"
},
{
"type": "atlas",
"only": ["virtualbox-iso"],
"artifact": "{{user `atlas_username`}}/{{user `atlas_name`}}",
"artifact_type": "vagrant.box",
"metadata": {
"created_at": "{{timestamp}}",
"version": "{{user `version`}}",
"provider": "virtualbox"
}
}
]
]
}