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.

48 lines
1.3 KiB

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