5 "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
6 "script": "scripts/setup.sh"
10 "script": "scripts/install_packages.sh"
14 "source": "scripts/lxd-bridge",
15 "destination": "/tmp/lxd-bridge"
19 "script": "scripts/lxd-setup.sh"
23 "inline": ["echo 'vagrant' | sudo shutdown -r now"],
24 "expect_disconnect": "true"
28 "script": "scripts/juju-setup.sh",
33 "script": "scripts/cleanup.sh"
37 "build_dir": "jujubase-{{timestamp}}"
41 "type": "virtualbox-iso",
43 "<enter><wait><f6><esc><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
44 "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
45 "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
46 "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
47 "/install/vmlinuz<wait>",
49 " console-setup/ask_detect=false<wait>",
50 " console-setup/layoutcode=us<wait>",
51 " console-setup/modelcode=pc105<wait>",
52 " debconf/frontend=noninteractive<wait>",
53 " debian-installer=en_US<wait>",
55 " initrd=/install/initrd.gz<wait>",
56 " kbd-chooser/method=us<wait>",
57 " keyboard-configuration/layout=USA<wait>",
58 " keyboard-configuration/variant=USA<wait>",
59 " locale=en_US<wait>",
60 " netcfg/get_domain=vm<wait>",
61 " netcfg/get_hostname=vagrant<wait>",
62 " grub-installer/bootdev=/dev/sda<wait>",
64 " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg",
70 "guest_os_type": "Ubuntu_64",
72 "http_directory": "http",
74 "iso/ubuntu-16.04.5-server-amd64.iso",
75 "http://releases.ubuntu.com/16.04/ubuntu-16.04.5-server-amd64.iso"
77 "iso_checksum_type": "sha256",
78 "iso_checksum": "c94de1cc2e10160f325eb54638a5b5aa38f181d60ee33dae9578d96d932ee5f8",
79 "ssh_username": "vagrant",
80 "ssh_password": "vagrant",
82 "ssh_wait_timeout": "10000s",
83 "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now",
84 "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
85 "virtualbox_version_file": ".vbox_version",
86 "output_directory": "{{user `build_dir`}}",
87 "vm_name": "xenial-jujubase",
106 "output": "{{user `build_dir`}}/{{.Provider}}-jujubase.box",
108 "keep_input_artifact": true