5 "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
6 "script": "scripts/install_packages.sh"
10 "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
11 "script": "scripts/setup.sh"
15 "source": "scripts/lxd-bridge",
16 "destination": "/tmp/lxd-bridge"
20 "script": "scripts/lxd-setup.sh"
24 "inline": ["echo 'vagrant' | sudo shutdown -r now"],
25 "expect_disconnect": "true"
29 "script": "scripts/juju-setup.sh",
34 "script": "scripts/cleanup.sh"
38 "build_dir": "jujubase-{{timestamp}}"
42 "type": "virtualbox-iso",
44 "<enter><wait><f6><esc><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 "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
48 "/install/vmlinuz<wait>",
50 " console-setup/ask_detect=false<wait>",
51 " console-setup/layoutcode=us<wait>",
52 " console-setup/modelcode=pc105<wait>",
53 " debconf/frontend=noninteractive<wait>",
54 " debian-installer=en_US<wait>",
56 " initrd=/install/initrd.gz<wait>",
57 " kbd-chooser/method=us<wait>",
58 " keyboard-configuration/layout=USA<wait>",
59 " keyboard-configuration/variant=USA<wait>",
60 " locale=en_US<wait>",
61 " netcfg/get_domain=vm<wait>",
62 " netcfg/get_hostname=vagrant<wait>",
63 " grub-installer/bootdev=/dev/sda<wait>",
65 " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg",
71 "guest_os_type": "Ubuntu_64",
73 "http_directory": "http",
75 "iso/ubuntu-16.04.4-server-amd64.iso",
76 "http://releases.ubuntu.com/16.04/ubuntu-16.04.4-server-amd64.iso"
78 "iso_checksum_type": "sha256",
79 "iso_checksum": "0a03608988cfd2e50567990dc8be96fb3c501e198e2e6efcb846d89efc7b89f2",
80 "ssh_username": "vagrant",
81 "ssh_password": "vagrant",
83 "ssh_wait_timeout": "10000s",
84 "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now",
85 "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
86 "virtualbox_version_file": ".vbox_version",
87 "output_directory": "{{user `build_dir`}}",
88 "vm_name": "xenial-jujubase",
107 "output": "{{user `build_dir`}}/{{.Provider}}-jujubase.box",
109 "keep_input_artifact": true