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

6 years ago
4 years ago
6 years ago
6 years ago
6 years ago
4 years ago
6 years ago
4 years ago
6 years ago
  1. {
  2. "variables": {
  3. "iso_mirror": "ftp.agdsn.de/pub/mirrors",
  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": "9a2c47d97b9975452f7d582264e9fc16d108ed8252ac6816239a3b58cef5c53d",
  19. "iso_checksum_type": "sha256",
  20. "iso_url": "https://{{user `iso_mirror`}}/centos/7.7.1908/isos/x86_64/CentOS-7-x86_64-Minimal-1908.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. }