{ "builders": [{ "vm_name": "ERPNext-Develop-{{isotime \"20060102150405\"}}", "output_directory": "Builds", "type": "virtualbox-iso", "boot_command": [ "", "", "", "", "/install/vmlinuz", " auto", " console-setup/ask_detect=false", " console-setup/layoutcode=us", " console-setup/modelcode=pc105", " debconf/frontend=noninteractive", " debian-installer=en_US", " fb=false", " initrd=/install/initrd.gz", " kbd-chooser/method=us", " keyboard-configuration/layout=USA", " keyboard-configuration/variant=USA", " locale=en_US", " netcfg/get_domain=vm", " netcfg/get_hostname=ubuntu", " grub-installer/bootdev=/dev/sda", " noapic", " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg", " -- ", "" ], "boot_wait": "10s", "format": "ova", "guest_os_type": "Ubuntu_64", "headless": true, "iso_url": "http://releases.ubuntu.com/16.04/ubuntu-16.04.4-server-amd64.iso", "iso_checksum": "6a7f31eb125a0b2908cf2333d7777c82", "iso_checksum_type": "md5", "ssh_username": "frappe", "ssh_password": "frappe", "ssh_port": 22, "ssh_wait_timeout": "10000s", "http_directory": "http", "guest_additions_mode": "disable", "virtualbox_version_file": ".vbox_version", "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso", "export_opts": [ "--vsys", "0", "--product", "ERPNext", "--producturl", "https://erpnext.com", "--vendor", "Frappe Techonologies", "--vendorurl", "https://frappe.io", "--description", "ERPNext Evaluation VM" ], "shutdown_command": "echo 'frappe'|sudo -S shutdown -P now", "vboxmanage": [ [ "modifyvm", "{{.Name}}", "--memory", "1024" ], [ "modifyvm", "{{.Name}}", "--cpus", "1" ], [ "modifyvm", "{{.Name}}", "--audio", "none" ], [ "modifyvm", "{{.Name}}", "--natpf1", "vm_ssh,tcp,,3022,,22" ], [ "modifyvm", "{{.Name}}", "--natpf1", "vm_http,tcp,,8080,,80" ] ] }], "provisioners": [{ "type": "shell", "execute_command": "echo 'frappe' | {{.Vars}} sudo -S -E bash '{{.Path}}'", "script": "scripts/debian_family/install_ansible.sh" }, { "type": "shell", "execute_command": "echo 'frappe' | {{.Vars}} sudo -S -E bash '{{.Path}}'", "script": "scripts/debian_family/setup.sh" }, { "type": "shell", "execute_command": "echo 'frappe' | {{.Vars}} sudo -S -E bash '{{.Path}}'", "script": "scripts/debian_family/install_erpnext_develop.sh" }, { "type": "shell", "execute_command": "echo 'frappe' | {{.Vars}} sudo -S -E bash '{{.Path}}'", "script": "scripts/debian_family/cleanup.sh" }, { "type": "shell", "script": "scripts/set_message.sh" }], "post-processors": [{ "type": "checksum", "checksum_types": ["md5", "sha256", "sha512"] }, { "type": "vagrant", "keep_input_artifact": true, "output": "Builds//ERPNext-Vagrant-Develop-{{isotime \"20060102150405\"}}.box", "vagrantfile_template": "Vagrantfile" }] }