Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ VAGRANTFILE_API_VERSION = "2"
IP_ADDRESS = "10.10.10.5"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.box = "ubuntu/focal64"
config.vm.network "private_network", ip: IP_ADDRESS
# If we want to enroll nodes in the same network
#config.vm.network "forwarded_port", guest: 443, host: 443
Expand Down
11 changes: 3 additions & 8 deletions deploy/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -514,12 +514,7 @@ else
_cert_file_a="$_certificates_dir/$_NAME-admin.crt"
_key_file_a="$_certificates_dir/$_NAME-admin.key"
_dh_file="$_certificates_dir/dhparam.pem"
_dh_bits="1024"

# Mode prod has 2048 dhparam file
if [[ "$MODE" == "prod" ]]; then
_dh_bits="2048"
fi
_dh_bits="2048"

# Mode dev checks for existance of certificates
if [[ "$MODE" == "dev" ]]; then
Expand Down Expand Up @@ -600,8 +595,8 @@ else
package postgresql
package postgresql-contrib
POSTGRES_SERVICE="postgresql"
POSTGRES_HBA="/etc/postgresql/10/main/pg_hba.conf"
POSTGRES_PSQL="/usr/lib/postgresql/10/bin/psql"
POSTGRES_HBA="/etc/postgresql/12/main/pg_hba.conf"
POSTGRES_PSQL="/usr/lib/postgresql/12/bin/psql"
elif [[ "$DISTRO" == "centos" ]]; then
sudo rpm -Uvh "http://yum.postgresql.org/9.6/redhat/rhel-7-x86_64/pgdg-redhat96-9.6-3.noarch.rpm"
package postgresql96-server
Expand Down