|
1 | 1 | { |
2 | | - "variables": { |
3 | | - "version": "{{env `RELEASE`}}" |
4 | | - }, |
5 | | - "builders": [ |
6 | | - { |
7 | | - "type": "virtualbox-iso", |
8 | | - "vboxmanage": [ |
9 | | - ["modifyvm", "{{.Name}}", "--nictype1", "virtio"] |
10 | | - ], |
11 | | - "iso_url": "https://alpha.de.repo.voidlinux.org/live/20190217/void-live-x86_64-20190217.iso", |
12 | | - "iso_checksum": "b6884f6ea435e242c29a5778ced7a1ce187cef2f07eb9543765064a1256030e9", |
13 | | - "iso_checksum_type": "sha256", |
14 | | - "boot_wait": "5s", |
15 | | - "boot_command": [ |
16 | | - "<tab><wait>", |
17 | | - "auto autourl=http://{{ .HTTPIP }}:{{ .HTTPPort }}/autoinstall.cfg", |
18 | | - "<enter>" |
19 | | - ], |
20 | | - "guest_os_type": "Linux_64", |
21 | | - "http_directory": "http", |
22 | | - "shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now", |
23 | | - "ssh_wait_timeout": "20m", |
24 | | - "virtualbox_version_file": ".vbox_version", |
25 | | - "guest_additions_mode": "disable", |
26 | | - "ssh_username": "vagrant", |
27 | | - "ssh_password": "vagrant" |
28 | | - } |
29 | | - ], |
30 | | - |
31 | | - "provisioners": [ |
32 | | - { |
33 | | - "type": "shell", |
34 | | - "script": "scripts/vagrant.sh", |
35 | | - "execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'" |
36 | | - } |
37 | | - ], |
38 | | - |
39 | | - "post-processors": [ |
| 2 | + "builders": [ |
| 3 | + { |
| 4 | + "boot_command": [ |
| 5 | + "<tab><wait>", |
| 6 | + "auto autourl=http://{{ .HTTPIP }}:{{ .HTTPPort }}/vagrant.cfg", |
| 7 | + "<enter>" |
| 8 | + ], |
| 9 | + "boot_wait": "5s", |
| 10 | + "guest_additions_mode": "disable", |
| 11 | + "guest_os_type": "Linux_64", |
| 12 | + "http_directory": "http", |
| 13 | + "iso_checksum": "sha256:d95d40e1eb13a7776b5319a05660792fddd762662eaecee5df6b8feb3aa9b391", |
| 14 | + "iso_url": "https://alpha.de.repo.voidlinux.org/live/20200722/void-live-x86_64-5.7.10_1-20200722.iso", |
| 15 | + "shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now", |
| 16 | + "ssh_password": "vagrant", |
| 17 | + "ssh_timeout": "20m", |
| 18 | + "ssh_username": "vagrant", |
| 19 | + "type": "virtualbox-iso", |
| 20 | + "vboxmanage": [ |
40 | 21 | [ |
41 | | - { |
42 | | - "type": "vagrant" |
43 | | - }, |
44 | | - { |
45 | | - "type": "vagrant-cloud", |
46 | | - "box_tag": "voidlinux/glibc64", |
47 | | - "version": "{{user `version`}}" |
48 | | - } |
| 22 | + "modifyvm", |
| 23 | + "{{.Name}}", |
| 24 | + "--nictype1", |
| 25 | + "virtio" |
49 | 26 | ] |
| 27 | + ], |
| 28 | + "virtualbox_version_file": ".vbox_version" |
| 29 | + } |
| 30 | + ], |
| 31 | + "post-processors": [ |
| 32 | + [ |
| 33 | + { |
| 34 | + "type": "vagrant" |
| 35 | + }, |
| 36 | + { |
| 37 | + "box_tag": "voidlinux/glibc64", |
| 38 | + "type": "vagrant-cloud", |
| 39 | + "version": "{{user `version`}}" |
| 40 | + } |
50 | 41 | ] |
| 42 | + ], |
| 43 | + "provisioners": [ |
| 44 | + { |
| 45 | + "execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'", |
| 46 | + "script": "scripts/vagrant.sh", |
| 47 | + "type": "shell" |
| 48 | + } |
| 49 | + ], |
| 50 | + "variables": { |
| 51 | + "version": "{{env `RELEASE`}}" |
| 52 | + } |
51 | 53 | } |
0 commit comments