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

{
"variables": {
"iso_mirror": "mirror.informatik.hs-fulda.de",
"opennms_release": "stable",
"onms-version": "22.0.0-1"
},
"builders": [
{
"type": "vmware-iso",
"output_directory": "opennms-horizon-vmware",
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
],
"boot_wait": "10s",
"disk_size": 20000,
"headless": true,
"http_directory": "http",
"iso_checksum": "714acc0aefb32b7d51b515e25546835e55a90da9fb00417fbee2d03a62801efd",
"iso_checksum_type": "sha256",
"iso_url": "https://{{user `iso_mirror`}}/centos/7.5.1804/isos/x86_64/CentOS-7-x86_64-Minimal-1804.iso",
"ssh_username": "root",
"ssh_password": "secret",
"ssh_port": 22,
"ssh_wait_timeout": "10000s",
"shutdown_command": "/sbin/halt -h -p",
"vmx_data_post": {
"memsize": "8192",
"numvcpus": "2"
}
}
],
"provisioners": [
{
"type": "shell",
"override": {
"vmware-iso": {
"scripts": [
"scripts/base.sh",
"scripts/vmware.sh",
"scripts/opennms.sh",
"scripts/grafana.sh",
"scripts/cleanup.sh"
]
}
}
}
]
}