-
Notifications
You must be signed in to change notification settings - Fork 20
/
ubuntu-22.04-amd64.json
160 lines (159 loc) · 5.07 KB
/
ubuntu-22.04-amd64.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"builders": [
{
"boot_command": [
"<tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><wait>",
"<tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><wait>",
"<tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><wait>",
"<tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><wait>",
"<tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><wait>",
"<tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><wait>",
"<tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><wait>",
"<tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><wait>",
"<tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><wait>",
"<tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><wait>",
"c<wait5>",
"set gfxpayload=keep<enter><wait5>",
"linux /casper/vmlinuz <wait5>",
"autoinstall quiet fsck.mode=skip <wait5>",
"net.ifnames=0 biosdevname=0 systemd.unified_cgroup_hierarchy=0 <wait5>",
"ds=\"nocloud-net;s=http://{{.HTTPIP}}:{{.HTTPPort}}/ubuntu-22.04/\" <wait5>",
"---<enter><wait5>",
"initrd /casper/initrd<enter><wait5>",
"boot<enter>"
],
"boot_wait": "1s",
"cpus": "{{ user `cpus` }}",
"disk_size": "{{ user `disk_size` }}",
"format": "ova",
"guest_os_type": "Ubuntu_64",
"headless": "{{ user `headless` }}",
"http_directory": "http",
"iso_checksum": "{{ user `iso_checksum_type` }}:{{ user `iso_checksum` }}",
"iso_urls": [
"{{ user `iso_path` }}/{{ user `iso_name` }}",
"{{ user `mirror` }}/22.04.2/{{ user `iso_name` }}"
],
"memory": "{{ user `memory` }}",
"output_directory": "output-ubuntu-22.04-amd64",
"shutdown_command": "sudo shutdown -h now",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_read_write_timeout": "600s",
"ssh_timeout": "120m",
"ssh_username": "vagrant",
"type": "virtualbox-iso",
"export_opts": [
"--manifest",
"--vsys",
"0",
"--product",
"LibreNMS",
"--producturl",
"https://www.librenms.org",
"--description",
"LibreNMS, a fully featured network monitoring system that provides a wealth of features and device support.",
"--version",
"LibreNMS"
],
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--cpu-profile",
"host"
],
[
"modifyvm",
"{{.Name}}",
"--nat-localhostreachable1",
"on"
],
[
"modifyvm",
"{{.Name}}",
"--natpf1",
"ssh,tcp,,2023,,22"
],
[
"modifyvm",
"{{.Name}}",
"--natpf1",
"http,tcp,,8080,,80"
]
],
"virtualbox_version_file": ".vbox_version",
"vm_name": "librenms-ubuntu-22.04-amd64",
"vrdp_bind_address": "0.0.0.0",
"vrdp_port_max": 6000,
"vrdp_port_min": 5900
}
],
"post-processors": [
{
"compression_level": 9,
"keep_input_artifact": true,
"output": "output-ubuntu-22.04-amd64/librenms-vagrant.box",
"provider_override": "virtualbox",
"type": "vagrant"
}
],
"provisioners": [
{
"destination": "/tmp/librenms.conf",
"source": "files/ubuntu/librenms.conf",
"type": "file"
},
{
"environment_vars": [
"DEBIAN_FRONTEND=noninteractive",
"DESKTOP={{user `desktop`}}",
"UPDATE={{user `update`}}",
"INSTALL_VAGRANT_KEY={{user `install_vagrant_key`}}",
"SSH_USERNAME={{user `ssh_username`}}",
"SSH_PASSWORD={{user `ssh_password`}}",
"http_proxy={{user `http_proxy`}}",
"https_proxy={{user `https_proxy`}}",
"LIBRENMS_VERSION={{user `librenms_version`}}",
"OXIDIZED={{user `oxidized`}}",
"SYSLOG_NG={{user `syslog_ng`}}"
],
"execute_command": "echo '{{ user `ssh_password` }}' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
"expect_disconnect": true,
"scripts": [
"scripts/ubuntu/update.sh",
"scripts/ubuntu/vmware.sh",
"scripts/common/vagrant.sh",
"scripts/common/sshd.sh",
"scripts/ubuntu/librenms.sh",
"scripts/ubuntu/syslog-ng.sh",
"scripts/ubuntu/oxidized.sh",
"scripts/ubuntu/cleanup.sh",
"scripts/common/finish.sh",
"scripts/ubuntu/minimize.sh",
"scripts/common/clean_users.sh"
],
"type": "shell"
}
],
"variables": {
"cpus": "1",
"desktop": "false",
"disk_size": "40960",
"headless": "false",
"install_vagrant_key": "true",
"iso_checksum": "5e38b55d57d94ff029719342357325ed3bda38fa80054f9330dc789cd2d43931",
"iso_checksum_type": "sha256",
"iso_name": "ubuntu-22.04.2-live-server-amd64.iso",
"iso_path": "iso",
"memory": "2048",
"mirror": "http://releases.ubuntu.com",
"no_proxy": "{{env `no_proxy`}}",
"ssh_fullname": "vagrant",
"ssh_password": "vagrant",
"ssh_timeout": "60m",
"ssh_username": "vagrant",
"update": "true",
"librenms_version": "master"
}
}