Merge branch '17010-re-run-workflow' refs #17010
[arvados.git] / tools / salt-install / Vagrantfile
1 # -*- mode: ruby -*-
2 # vi: set ft=ruby :
3 # Copyright (C) The Arvados Authors. All rights reserved.
4 #
5 # SPDX-License-Identifier: AGPL-3.0
6
7 # Vagrantfile API/syntax version. Don"t touch unless you know what you"re doing!
8 VAGRANTFILE_API_VERSION = "2".freeze
9
10 Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
11   config.ssh.insert_key = false
12   config.ssh.forward_x11 = true
13
14   config.vm.define "arvados" do |arv|
15     arv.vm.box = "bento/debian-10"
16     arv.vm.hostname = "arva2.arv.local"
17     # Networking
18     arv.vm.network "forwarded_port", guest: 8443, host: 8443
19     arv.vm.network "forwarded_port", guest: 25100, host: 25100
20     arv.vm.network "forwarded_port", guest: 9002, host: 9002
21     arv.vm.network "forwarded_port", guest: 9000, host: 9000
22     arv.vm.network "forwarded_port", guest: 8900, host: 8900
23     arv.vm.network "forwarded_port", guest: 8002, host: 8002
24     arv.vm.network "forwarded_port", guest: 8001, host: 8001
25     arv.vm.network "forwarded_port", guest: 8000, host: 8000
26     arv.vm.network "forwarded_port", guest: 3001, host: 3001
27     # config.vm.network "private_network", ip: "192.168.33.10"
28     # arv.vm.synced_folder "salt_pillars", "/srv/pillars",
29     #                      create: true
30     arv.vm.provision "shell",
31                      path: "provision.sh",
32                      args: [
33                        "--vagrant",
34                        "--ssl-port=8443"
35                      ].join(" ")
36   end
37 end