forked from flynn/flynn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
26 lines (21 loc) · 979 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "flynn-base"
config.vm.box_url = "https://dl.flynn.io/vagrant/flynn-base_v20140812_virtualbox.box"
config.vm.box_download_checksum = "9758ad64cc7922637ff3d825642d4bd77f6573632c65fb9ea534cf70896c46fd"
config.vm.box_download_checksum_type = "sha256"
config.vm.network "private_network", ip: "192.168.84.42"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.provision "shell", privileged: false, inline: <<SCRIPT
sudo apt-get update -qq
sudo apt-get install -y flynn-host
sudo flynn-release download /etc/flynn/version.json
sudo start flynn-host
CONTROLLER_DOMAIN=demo.localflynn.com \
DEFAULT_ROUTE_DOMAIN=demo.localflynn.com \
flynn-bootstrap /etc/flynn/bootstrap-manifest.json 2>&1
SCRIPT
end