/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",
+ inline: "cp -vr /tmp/local.params.single_host_multiple_hostnames /tmp/local.params.single_host_multiple_hostnames.falla;
+ cp -vr /vagrant/centos7-local.params.single_host_single_hostname-f258b604f831bb3bd7fab506c670b975ae8e4118 /tmp/local.params.single_host_multiple_hostnames"
arv.vm.provision "shell",
path: "provision.sh",
args: [
# A single_host single_hostname example
config.vm.define "arvados-sh-sn" do |arv|
- arv.vm.box = "bento/debian-11"
+ #arv.vm.box = "bento/centos-7"
+ arv.vm.box = "bento/ubuntu-20.04"
arv.vm.hostname = "zeppo"
# CPU/RAM
config.vm.provider :virtualbox do |v|
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_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#domain_fixme_or_this_wont_work#local#g;' \
+ sed 's#cluster_fixme_or_this_wont_work#cnts7#g;
+ s#domain_fixme_or_this_wont_work#local#g;
+ s#HOSTNAME_EXT=\"hostname_ext_fixme_or_this_wont_work\"#HOSTNAME_EXT=\"cnts7.local\"#g;
+ s#IP_INT=\"ip_int_fixme_or_this_wont_work\"#IP_INT=\"127.0.0.1\"#g;
+ s#RELEASE=\"production\"#RELEASE=\"development\"#g;
+ s/# BRANCH=\"main\"/BRANCH=\"main\"/g;
+ s/# VERSION=.*$/VERSION=\"latest\"/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: [
# As we now differentiate where passenger is required or not, we need to
# load this module conditionally, so we add this conditional just to use
# the same pillar file
- {% if "install_from_phusionpassenger" == "____NGINX_INSTALL_SOURCE__" %}
+ {% if "install_from_phusionpassenger" == "__NGINX_INSTALL_SOURCE__" %}
# This is required to get the passenger module loaded
# In Debian it can be done with this
# include: 'modules-enabled/*.conf'
# As we now differentiate where passenger is required or not, we need to
# load this module conditionally, so we add this conditional just to use
# the same pillar file
- {% if "install_from_phusionpassenger" == "____NGINX_INSTALL_SOURCE__" %}
+ {% if "install_from_phusionpassenger" == "__NGINX_INSTALL_SOURCE__" %}
# This is required to get the passenger module loaded
# In Debian it can be done with this
# include: 'modules-enabled/*.conf'
# As we now differentiate where passenger is required or not, we need to
# load this module conditionally, so we add this conditional just to use
# the same pillar file
- {% if "install_from_phusionpassenger" == "____NGINX_INSTALL_SOURCE__" %}
+ {% if "install_from_phusionpassenger" == "__NGINX_INSTALL_SOURCE__" %}
# This is required to get the passenger module loaded
# In Debian it can be done with this
# include: 'modules-enabled/*.conf'