Go to file
lluked 58658ca713 HCL2 Upgrade. 2022-03-14 22:26:00 +00:00
.github new: [gh] some bug report templates 2020-05-22 17:18:13 +09:00
cidata HCL2 Upgrade. 2022-03-14 22:26:00 +00:00
conffiles HCL2 Upgrade. 2022-03-14 22:26:00 +00:00
scripts Merge branch '18.04' into 20.04 2021-02-05 04:40:18 +00:00
.gitignore HCL2 Upgrade. 2022-03-14 22:26:00 +00:00
LICENSE - Added License 2018-02-01 12:22:26 +01:00
README.md HCL2 Upgrade. 2022-03-14 22:26:00 +00:00
archive.sh chg: [various] Updated to 18.04.4 fixed vbox json to use correct graphicscontroller 2020-04-24 06:36:03 +02:00
build_vbox.sh chg: [vbox] Added check installer and check packer 2019-05-09 13:33:52 +09:00
checkDeps.sh chg: [sh] moved depenency check to seperate file 2021-01-20 03:35:27 +00:00
config.sh new: [dbg] Added debug mode 2021-02-05 04:31:13 +00:00
deploy.sh new: [dbg] Added debug mode 2021-02-05 04:31:13 +00:00
misp.pkr.hcl HCL2 Upgrade. 2022-03-14 22:26:00 +00:00
upload.sh added upload script 2017-08-25 14:58:43 +02:00
variables.auto.pkrvars.hcl HCL2 Upgrade. 2022-03-14 22:26:00 +00:00
variables.pkr.hcl HCL2 Upgrade. 2022-03-14 22:26:00 +00:00

README.md

Build Automated Machine Images for MISP

Fork of misp-packer

Works with ubuntu 20.04.4 iso

Changes:

  • .json packer file converted to hcl2 with builtin packer converter.
  • required_plugins defined to allow installation with packer init.
  • Variables seperated into "variables.pkr.hcl" file.
  • Other common settings between builders turned into variables and defaults set.
  • Default variable overides in "variables.auto.pkrvars.hcl" file.
  • VirtualBox modifyvm variables moved to main source block where compatible.
  • Removed VirtualBox modifyvm variables that are setting a value that is already the default.
  • Created seperate user-data files as ubunu 20.04 uses enp0s3 interface in virtualbox and ens33 in vmware.
  • Created seperate issue files for virtualbox and vmware due to different networking interfaces.
  • Removed VirtualBox port forwards for Jupyter as it seems it is no longer installed.
  • Removed VirtualBox port forwards for Viper and Misp Dashboard as current Install script staes they are broken and not installed.
  • Boot command changed as was not working while testing.
  • Cloud config files are now mounted as cidata instead of using http.
  • INSTALL.sh needs placing in scripts folder as build scripts which download the file have not been updated.
  • Output directory has changed to "output/${var.vm_name}_{{ .Builder }}/". Easy enough to change back if wanted.
  • Post Processor checksum is used to create checksums for boxes.

To-do:

  • Update .sh scripts (This was not done as I wasn't too familiar with what a lot of them did).
  • Full Testing as I have limited experience with misp.

Instructions:

  • Read Notes
  • Run packer init . to install required plugins.
  • Place latest INSTALL.sh in scripts folder.
  • Run Packer build -only=vmware-iso . for vmware build. Packer build -only=vmware-iso.ubuntu . on mac.
  • Run Packer build -only=virtualbox-iso . for virtualbox build. Packer build -only=virtualbox-iso.ubuntu . on mac
  • Run Packer build . to build both.

Notes:

  • Timing is important, different hosts load at different speeds, boot_wait needs changing to suit the build host. Seperate variables exist for Virtualbox and VMWare.