SHARE
TWEET

Untitled

a guest Mar 23rd, 2020 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     "provisioners": [{
  3.         "type": "shell",
  4.         "scripts": [
  5.             "scripts/base.sh",
  6.             "scripts/virtualbox.sh",
  7.             "scripts/vagrant.sh",
  8.             "scripts/cleanup.sh",
  9.             "scripts/zerodisk.sh"
  10.         ],
  11.         "environment_vars": [
  12.             "BAHMNI_VERSION=0.92",
  13.             "ANSIBLE_VERSION=2.2.0.0"
  14.         ],
  15.         "execute_command": "echo 'vagrant' | {{ .Vars }} sudo -E -S bash '{{.Path}}'"
  16.     }],
  17.     "builders": [{
  18.         "type": "virtualbox-iso",
  19.         "boot_command": [
  20.             "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
  21.         ],
  22.         "boot_wait": "10s",
  23.         "disk_size": 81920,
  24.         "guest_os_type": "RedHat_64",
  25.         "headless": true,
  26.         "http_directory": "http",
  27.         "iso_urls": [
  28.             "iso/CentOS-7-x86_64-Minimal-1908.iso",
  29.             "http://mirror.0x.sg/centos/7.7.1908/isos/x86_64/CentOS-7-x86_64-Minimal-1908.iso"
  30.         ],
  31.         "iso_checksum_type": "sha256",
  32.         "iso_checksum": "9a2c47d97b9975452f7d582264e9fc16d108ed8252ac6816239a3b58cef5c53d",
  33.         "ssh_username": "vagrant",
  34.         "ssh_password": "vagrant",
  35.         "ssh_port": 22,
  36.         "ssh_wait_timeout": "10000s",
  37.         "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
  38.         "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
  39.         "virtualbox_version_file": ".vbox_version",
  40.         "vboxmanage": [
  41.             ["modifyvm", "{{.Name}}", "--memory", "2048"],
  42.             ["modifyvm", "{{.Name}}", "--cpus", "1"]
  43.         ]
  44.     }],
  45.     "post-processors": [
  46.         [{
  47.             "type": "vagrant",
  48.             "keep_input_artifact": true
  49.         }]
  50.     ]
  51. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top