1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- {
- "builders": [
- {
- "type": "virtualbox",
- "iso_checksum": "a8c1751b83646530148766618a89a97009e7500e7057a5cbe3afd74ef480c915",
- "iso_checksum_type": "sha256",
- "iso_url": "http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.2/FreeBSD-9.2-RELEASE-amd64-disc1.iso",
- "ssh_username": "vagrant",
- "boot_command": [
- "<enter>",
- "<wait10><wait5>",
- "s",
- "mkdir -p /tmp/bsdinstall_etc<enter>",
- "dhclient em0<enter>",
- "<wait5>",
- "fetch -o /tmp/installerconfig http://{{ .HTTPIP }}:{{ .HTTPPort }}/installerconfig.sh<enter>",
- "<wait>",
- "bsdinstall script /tmp/installerconfig<enter>",
- "<wait10><wait10><wait10>",
- "shutdown -r now<enter>"
- ],
- "guest_os_type": "FreeBSD_64",
- "http_directory": "http",
- "shutdown_command": "shutdown -p now",
- "ssh_password": "vagrant"
- }
- ],
- "provisioners": [
- {
- "type": "shell",
- "script": "scripts/vm_cleanup.sh",
- "override": {
- "virtualbox": {
- "execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
- }
- }
- }
- ],
- "post-processors": [
- {
- "type": "vagrant",
- "keep_input_artifact": true
- }
- ]
- }
|