forked from hargut/aws-packer-pfsense
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpfsense-vbox.json
62 lines (62 loc) · 1.8 KB
/
pfsense-vbox.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
{
"builders": [
{
"http_directory": "config",
"http_port_min": "8100",
"boot_wait": "30s",
"boot_command": [
"<wait5><enter>",
"<wait5><enter>",
"<wait5><enter>",
"<wait5><down>",
"<wait5><enter>",
"<wait5><left>",
"<wait5><enter>",
"<wait5><enter>",
"<wait5><down>",
"<wait5><enter>",
"<wait5><enter>",
"<wait5><enter>",
"<wait10><wait10><wait10><wait10><enter>",
"<wait5><enter>",
"<wait10><wait10><wait10><wait10><wait10><wait10><wait10><wait10>",
"8<wait5><enter>",
"curl http://{{ .HTTPIP }}:{{ .HTTPPort }}/config.xml >/conf/config.xml<wait5><enter>",
"reboot<wait5><enter>"
],
"disk_size": "4096",
"iso_url": "input/pfSense-CE-2.4.2-RELEASE-amd64.iso",
"iso_checksum_type": "sha256",
"iso_checksum": "3fa30cac9b8519e89a176ca8845a5a9536af0e11226f2ec9bcaf85ebcab40416",
"shutdown_command": "shutdown -p now",
"format": "ovf",
"vm_name": "pfSense-CE-2.4.2_{{ isotime \"20060102_030405\"}}",
"ssh_port": "6736",
"ssh_username": "root",
"ssh_password": "pfsense",
"ssh_wait_timeout": "3600s",
"output_directory": "output-vbox",
"headless": "true",
"type": "virtualbox-iso",
"guest_additions_mode": "disable",
"guest_os_type": "FreeBSD_64",
"vrdp_bind_address": "127.0.0.1",
"vrdp_port_min": "3389",
"vrdp_port_max": "3389",
"vboxmanage": [
[ "modifyvm", "{{.Name}}", "--boot1", "disk" ],
[ "modifyvm", "{{.Name}}", "--boot2", "dvd" ],
[ "modifyvm", "{{.Name}}", "--cpus", "1" ],
[ "modifyvm", "{{.Name}}", "--memory", "1024" ],
[ "modifyvm", "{{.Name}}", "--natpf1", "https,tcp,,7373,,7373" ],
[ "modifyvm", "{{.Name}}", "--nic2", "intnet" ]
]
}
],
"provisioners": [
{
"type": "shell",
"script": "config/provision.sh"
}
]
}