Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "provisioners": [{
- "type": "shell",
- "scripts": [
- "scripts/base.sh",
- "scripts/virtualbox.sh",
- "scripts/vagrant.sh",
- "scripts/cleanup.sh",
- "scripts/zerodisk.sh"
- ],
- "environment_vars": [
- "BAHMNI_VERSION=0.92",
- "ANSIBLE_VERSION=2.2.0.0"
- ],
- "execute_command": "echo 'vagrant' | {{ .Vars }} sudo -E -S bash '{{.Path}}'"
- }],
- "builders": [{
- "type": "virtualbox-iso",
- "boot_command": [
- "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks.cfg<enter><wait>"
- ],
- "boot_wait": "10s",
- "disk_size": 81920,
- "guest_os_type": "RedHat_64",
- "headless": true,
- "http_directory": "http",
- "iso_urls": [
- "iso/CentOS-7-x86_64-Minimal-1908.iso",
- "http://mirror.0x.sg/centos/7.7.1908/isos/x86_64/CentOS-7-x86_64-Minimal-1908.iso"
- ],
- "iso_checksum_type": "sha256",
- "iso_checksum": "9a2c47d97b9975452f7d582264e9fc16d108ed8252ac6816239a3b58cef5c53d",
- "ssh_username": "vagrant",
- "ssh_password": "vagrant",
- "ssh_port": 22,
- "ssh_wait_timeout": "10000s",
- "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
- "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
- "virtualbox_version_file": ".vbox_version",
- "vboxmanage": [
- ["modifyvm", "{{.Name}}", "--memory", "2048"],
- ["modifyvm", "{{.Name}}", "--cpus", "1"]
- ]
- }],
- "post-processors": [
- [{
- "type": "vagrant",
- "keep_input_artifact": true
- }]
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement