Repository navigation
Expand file tree
/
Copy pathpacker.json
More file actions
97 lines (96 loc) · 2.65 KB
/
Copy pathpacker.json
File metadata and controls
97 lines (96 loc) · 2.65 KB
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
96
{
"builders": [
{
"boot_command": [
"<esc><wait><esc><wait><f6><wait><esc><wait>",
"<bs><bs><bs><bs><bs>",
"autoinstall ds=nocloud-net;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ ",
"--- <enter>"
],
"boot_wait": "5s",
"cpus": "{{ user `vb_cpus` }}",
"disk_size": "{{ user `vb_disk_size` }}",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Ubuntu_64",
"hard_drive_interface": "sata",
"headless": true,
"http_directory": "http",
"iso_checksum": "{{ user `checksum_type` }}:{{ user `iso_checksum` }}",
"iso_urls": [
"iso/{{ user `iso_name` }}",
"{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}"
],
"memory": "{{ user `vb_memory` }}",
"output_directory": "builds/virtualbox/aracpac-{{ user `image_name` }}-v{{ user `version` }}",
"sata_port_count": 5,
"shutdown_command": "/usr/sbin/shutdown -P now",
"ssh_password": "root",
"ssh_port": 22,
"ssh_timeout": "10000s",
"ssh_username": "root",
"type": "virtualbox-iso",
"virtualbox_version_file": ".vbox_version",
"vm_name": "aracpac-{{ user `image_name` }}-v{{ user `version` }}"
}
],
"post-processors": [
{
"compression_level": "8",
"output": "builds/{{ user `image_name` }}-v{{ user `version` }}.box",
"type": "vagrant"
}
],
"provisioners": [
{
"expect_disconnect": true,
"scripts": [
"scripts/update.sh",
"scripts/ansible.sh",
"scripts/sshd.sh",
"scripts/networking.sh"
],
"type": "shell"
},
{
"expect_disconnect": true,
"only": [
"virtualbox-iso"
],
"scripts": [
"scripts/virtualbox.sh"
],
"type": "shell"
},
{
"clean_staging_directory": true,
"extra_arguments": [
"--extra-vars",
"'{}'"
],
"galaxy_file": "ansible/requirements.yml",
"playbook_dir": "ansible",
"playbook_file": "ansible/main.yml",
"type": "ansible-local"
},
{
"expect_disconnect": true,
"scripts": [
"scripts/cleanup.sh",
"scripts/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"checksum_type": "sha256",
"image_name": "ubuntu20",
"iso_checksum": "f8e3086f3cea0fb3fefb29937ab5ed9d19e767079633960ccb50e76153effc98",
"iso_name": "ubuntu-20.04.3-live-server-amd64.iso",
"mirror": "http://releases.ubuntu.com",
"mirror_directory": "20.04",
"vb_cpus": "2",
"vb_disk_size": "512000",
"vb_memory": "2048",
"version": "1.4.1"
}
}