X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/45e77184afd269c569745ab64fd00c2336e70c9c..db988f281315fcbaeb0c32dc26c39890da977466:/tools/salt-install/Vagrantfile diff --git a/tools/salt-install/Vagrantfile b/tools/salt-install/Vagrantfile index 3019a9fb1c..27f1591c8f 100644 --- a/tools/salt-install/Vagrantfile +++ b/tools/salt-install/Vagrantfile @@ -13,7 +13,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # A single_host multiple_hostnames example config.vm.define "arvados-sh-mn" do |arv| - arv.vm.box = "bento/debian-10" + arv.vm.box = "bento/debian-11" arv.vm.hostname = "harpo" # CPU/RAM config.vm.provider :virtualbox do |v| @@ -35,14 +35,18 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| cp -vr /vagrant/tests /home/vagrant/tests; sed 's#cluster_fixme_or_this_wont_work#harpo#g; s#domain_fixme_or_this_wont_work#local#g; - s/#\ BRANCH=\"master\"/\ BRANCH=\"master\"/g; - s#CONTROLLER_EXT_SSL_PORT=443#CONTROLLER_EXT_SSL_PORT=8443#g' \ + s#CONTROLLER_EXT_SSL_PORT=443#CONTROLLER_EXT_SSL_PORT=8443#g; + s#RELEASE=\"production\"#RELEASE=\"development\"#g; + s/# VERSION=.*$/VERSION=\"latest\"/g;' \ /vagrant/local.params.example.single_host_multiple_hostnames > /tmp/local.params.single_host_multiple_hostnames" + # s/#\ BRANCH=\"main\"/\ BRANCH=\"main\"/g;' \ + arv.vm.provision "shell", path: "provision.sh", args: [ # "--debug", "--config /tmp/local.params.single_host_multiple_hostnames", + "--development", "--test", "--vagrant" ].join(" ") @@ -50,7 +54,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # A single_host single_hostname example config.vm.define "arvados-sh-sn" do |arv| - arv.vm.box = "bento/debian-10" + arv.vm.box = "bento/debian-11" arv.vm.hostname = "zeppo" # CPU/RAM config.vm.provider :virtualbox do |v| @@ -76,15 +80,15 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| arv.vm.provision "shell", inline: "cp -vr /vagrant/config_examples/single_host/single_hostname /home/vagrant/local_config_dir; cp -vr /vagrant/tests /home/vagrant/tests; - sed 's#HOSTNAME_EXT=\"\"#HOSTNAME_EXT=\"zeppo.local\"#g; + sed 's#HOSTNAME_EXT=\"hostname_ext_fixme_or_this_wont_work\"#HOSTNAME_EXT=\"zeppo.local\"#g; s#cluster_fixme_or_this_wont_work#zeppo#g; - s/#\ BRANCH=\"master\"/\ BRANCH=\"master\"/g; s#domain_fixme_or_this_wont_work#local#g;' \ /vagrant/local.params.example.single_host_single_hostname > /tmp/local.params.single_host_single_hostname" + # s/#\ BRANCH=\"main\"/\ BRANCH=\"main\"/g; arv.vm.provision "shell", path: "provision.sh", args: [ - # "--debug", + "--debug", "--config /tmp/local.params.single_host_single_hostname", "--test", "--vagrant"