mirror of https://github.com/MISP/misp-packer
fix: [fmt] ran packer fix misp.json now more clean
parent
0376239695
commit
e87c943f79
24
misp.json
24
misp.json
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"_comment": "MISP VM Autogen packer build system",
|
||||
"builders": [{
|
||||
"builders": [
|
||||
{
|
||||
"boot_command": [
|
||||
"{{ user `boot_command_prefix` }}",
|
||||
"/install/vmlinuz noapic ",
|
||||
|
@ -20,8 +21,7 @@
|
|||
"-- <enter>"
|
||||
],
|
||||
"disk_size": "{{user `disk_size`}}",
|
||||
"export_opts":
|
||||
[
|
||||
"export_opts": [
|
||||
"--manifest",
|
||||
"--vsys", "0",
|
||||
"--eulafile", "/tmp/LICENSE-misp",
|
||||
|
@ -34,8 +34,8 @@
|
|||
"hard_drive_interface": "sata",
|
||||
"headless": "{{user `headless`}}",
|
||||
"http_directory": "preseeds",
|
||||
"http_port_min" : 9001,
|
||||
"http_port_max": 9011,
|
||||
"http_port_min": 9001,
|
||||
"iso_checksum": "{{ user `iso_checksum` }}",
|
||||
"iso_checksum_type": "{{ user `iso_checksum_type` }}",
|
||||
"iso_urls": [
|
||||
|
@ -82,8 +82,8 @@
|
|||
"guest_os_type": "ubuntu-64",
|
||||
"headless": "{{user `headless`}}",
|
||||
"http_directory": "preseeds",
|
||||
"http_port_min" : 9001,
|
||||
"http_port_max": 9011,
|
||||
"http_port_min": 9001,
|
||||
"iso_checksum": "{{ user `iso_checksum` }}",
|
||||
"iso_checksum_type": "{{ user `iso_checksum_type` }}",
|
||||
"iso_urls": [
|
||||
|
@ -101,7 +101,8 @@
|
|||
"vm_name": "{{user `vm_name`}}"
|
||||
}
|
||||
],
|
||||
"provisioners": [{
|
||||
"provisioners": [
|
||||
{
|
||||
"environment_vars": [
|
||||
"DESKTOP={{user `desktop`}}",
|
||||
"UPDATE={{user `update`}}",
|
||||
|
@ -126,8 +127,8 @@
|
|||
"type": "shell"
|
||||
},
|
||||
{
|
||||
"source" : "scripts/INSTALL.sh",
|
||||
"destination": "/tmp/INSTALL.sh",
|
||||
"source": "scripts/INSTALL.sh",
|
||||
"type": "file"
|
||||
},
|
||||
{
|
||||
|
@ -144,21 +145,21 @@
|
|||
"type": "shell"
|
||||
},
|
||||
{
|
||||
"source" : "conffiles/crontab",
|
||||
"destination": "/tmp/crontab",
|
||||
"source": "conffiles/crontab",
|
||||
"type": "file"
|
||||
},
|
||||
{
|
||||
"source" : "conffiles/issue",
|
||||
"destination": "/tmp/issue",
|
||||
"source": "conffiles/issue",
|
||||
"type": "file"
|
||||
},
|
||||
{
|
||||
"execute_command": "echo '{{user `ssh_pass`}}' | {{ .Vars }} sudo -E -S sh '{{ .Path }}'",
|
||||
"script": "scripts/clean.sh",
|
||||
"expect_disconnect": "true",
|
||||
"pause_before": "10s",
|
||||
"pause_after": "30s",
|
||||
"pause_before": "10s",
|
||||
"script": "scripts/clean.sh",
|
||||
"type": "shell"
|
||||
}
|
||||
],
|
||||
|
@ -189,3 +190,4 @@
|
|||
"vm_version": "2.4"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue