-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.json
76 lines (76 loc) · 3.45 KB
/
build.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
{ "description": "Arch Linux x64 LVM"
, "variables": { "build": "lmmarsano/archx86-64"
, "version": "0.0.0"
, "token": ""
, "username": "vagrant"
, "password": "vagrant"
, "root_password": "vagrant"
, "locale": "en_US.UTF-8"
}
, "builders": [{ "type": "virtualbox-iso"
, "guest_os_type": "ArchLinux_64"
, "iso_url": "http://mirror.vtti.vt.edu/archlinux/iso/latest/archlinux-2015.01.01-dual.iso"
, "iso_checksum": "b1bb42e2c89096687509e0b7b1bc84c3"
, "iso_checksum_type": "md5"
, "guest_additions_mode": "disable"
, "ssh_username": "root"
, "ssh_password": "{{user `root_password`}}"
, "ssh_wait_timeout": "1m20s"
, "disk_size": 40960
, "hard_drive_interface": "sata"
, "iso_interface": "sata"
, "ssh_host_port_min": 2200
, "ssh_host_port_max": 2250
, "vboxmanage": [[ "modifyvm"
, "{{.Name}}"
, "--firmware"
, "efi"
, "--accelerate3d"
, "on"
, "--rtcuseutc"
, "on"
, "--hpet"
, "on"
, "--cpuhotplug"
, "on"
, "--cpus"
, "4"
, "--nictype1"
, "virtio"
, "--usbehci"
, "on"
, "--clipboard"
, "bidirectional"
, "--draganddrop"
, "hosttoguest"
]]
, "boot_wait": "5s"
, "boot_command": [ "<enter><wait10><wait10><wait10><wait10><wait5>"
, "chpasswd <<<\"root:{{user `root_password`}}\""
, "<enter>systemctl start sshd.service"
, "<enter><wait>"
]
, "shutdown_command": "poweroff"
, "shutdown_timeout": "5s"
}]
, "provisioners": [{ "type": "shell"
, "script": "provision.sh"
, "environment_vars": [ "username={{user `username`}}"
, "password={{user `password`}}"
, "root_password={{user `root_password`}}"
, "locale={{user `locale`}}"
]
}]
, "post-processors": [[ { "type": "vagrant"
, "compression_level": 9
}
, { "type": "vagrant-cloud"
, "version_description": "initial"
, "access_token": "{{user `token`}}"
, "box_tag": "{{user `build`}}"
, "version": "{{user `version`}}"
, "no_release": true
, "keep_input_artifact": true
}
]]
}