You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.2 KiB

7 years ago
  1. {
  2. "variables": {
  3. "iso_mirror": "mirror.informatik.hs-fulda.de",
  4. "opennms_release": "stable",
  5. "onms-version": "22.0.0-1"
  6. },
  7. "builders": [
  8. {
  9. "type": "vmware-iso",
  10. "boot_command": [
  11. "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
  12. ],
  13. "boot_wait": "10s",
  14. "disk_size": 20000,
  15. "headless": true,
  16. "http_directory": "http",
  17. "iso_checksum": "714acc0aefb32b7d51b515e25546835e55a90da9fb00417fbee2d03a62801efd",
  18. "iso_checksum_type": "sha256",
  19. "iso_url": "https://{{user `iso_mirror`}}/centos/7.5.1804/isos/x86_64/CentOS-7-x86_64-Minimal-1804.iso",
  20. "ssh_username": "root",
  21. "ssh_password": "secret",
  22. "ssh_port": 22,
  23. "ssh_wait_timeout": "10000s",
  24. "shutdown_command": "/sbin/halt -h -p",
  25. "vmx_data_post": {
  26. "memsize": "8192",
  27. "numvcpus": "2"
  28. }
  29. }
  30. ],
  31. "provisioners": [
  32. {
  33. "type": "shell",
  34. "override": {
  35. "vmware-iso": {
  36. "scripts": [
  37. "scripts/base.sh",
  38. "scripts/vmware.sh",
  39. "scripts/opennms.sh",
  40. "scripts/grafana.sh",
  41. "scripts/cleanup.sh"
  42. ]
  43. }
  44. }
  45. }
  46. ]
  47. }