Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "builders": [
- {
- "boot_command": [
- "<esc><wait>",
- "install",
- " auto",
- " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/vagrant-jessie.txt",
- " debian-installer=en_US",
- " locale=en_US.UTF-8",
- " keymap=dk",
- " priority=critical",
- " netcfg/get_hostname=vagrant",
- " netcfg/get_domain=vagrantup.com ",
- "<enter>"
- ],
- "disk_size": 10140,
- "guest_os_type": "debian6-64",
- "http_directory": "http",
- "iso_checksum": "8a386a16ab2939e00bfd5efa27007216",
- "iso_checksum_type": "none",
- "iso_url": "http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/amd64/iso-cd/debian-testing-amd64-netinst.iso",
- "shutdown_command": "echo 'vagrant'|sudo -S shutdown -h now",
- "ssh_password": "vagrant",
- "ssh_username": "vagrant",
- "ssh_wait_timeout": "10000s",
- "tools_upload_flavor": "linux",
- "tools_upload_path": "/var/tmp/linux.iso",
- "type": "vmware-iso",
- "vm_name": "debian-jessie",
- "vmx_data": {
- "cpuid.coresPerSocket": "1",
- "memsize": "1024",
- "numvcpus": "1"
- }
- },
- {
- "boot_command": [
- "<esc><wait>",
- "install",
- " auto",
- " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/vagrant-jessie.txt",
- " debian-installer=en_US",
- " locale=en_US.UTF-8",
- " keymap=dk",
- " netcfg/get_hostname=vagrant",
- " netcfg/get_domain=vagrantup.com ",
- "<enter>"
- ],
- "disk_size": 10140,
- "guest_additions_path": "/var/tmp/VBoxGuestAdditions_{{.Version}}.iso",
- "guest_os_type": "Debian_64",
- "http_directory": "http",
- "iso_checksum": "8a386a16ab2939e00bfd5efa27007216",
- "iso_checksum_type": "md5",
- "iso_url": "http://cdimage.debian.org/cdimage/jessie_di_beta_1/amd64/iso-cd/debian-jessie-DI-b1-amd64-netinst.iso",
- "shutdown_command": "echo 'vagrant'|sudo -S shutdown -h now",
- "ssh_password": "vagrant",
- "ssh_username": "vagrant",
- "ssh_wait_timeout": "10000s",
- "type": "virtualbox-iso",
- "vboxmanage": [
- [
- "modifyvm",
- "{{.Name}}",
- "--memory",
- "1024"
- ],
- [
- "modifyvm",
- "{{.Name}}",
- "--cpus",
- "1"
- ]
- ],
- "virtualbox_version_file": "/var/tmp/.vbox_version",
- "vm_name": "debian-jessie"
- }
- ],
- "post-processors": [
- {
- "keep_input_artifact": false,
- "output": "./{{.Provider}}/debian-jessie.box",
- "type": "vagrant"
- }
- ],
- "provisioners": [
- {
- "override": {
- "virtualbox-iso": {
- "execute_command": "echo 'vagrant'|{{.Vars}} sudo -E -S bash '{{.Path}}'"
- },
- "vmware-iso": {
- "execute_command": "echo 'vagrant'|{{.Vars}} sudo -E -S bash '{{.Path}}'"
- }
- },
- "scripts": [
- "script/base.sh",
- "script/vagrant.sh",
- "script/vmtools.sh",
- "script/cleanup.sh",
- "script/zerodisk.sh"
- ],
- "type": "shell"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement