X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3fa0a5500d5b58b5d0b9ea940dac85be2da079ec..c56098048193b9ba8597b55c761af07a7617c026:/tools/salt-install/Vagrantfile diff --git a/tools/salt-install/Vagrantfile b/tools/salt-install/Vagrantfile index 3019a9fb1c..a8dd345343 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,16 @@ 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#IP_INT=\"ip_int_fixme_or_this_wont_work\"#IP_INT=\"127.0.0.1\"#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"