Commit 7e26b54b authored by Steve Weber's avatar Steve Weber
Browse files

pgadmin now allows remote auth

parent 5a56a079
ticket #1188402: create VM for Ubuntu 20 arch master
====================================================
bootstrap VM using PXE boot install ubuntu20.04
On first boot did some tasks
```
# Disable salt
apt remove salt-minion
# Add second disk to VM 40gb
# Purposely not creating partition because this makes disk resizes simple.
mkfs.ext4 /dev/sdb
mkdir /fsys1
echo "/dev/sdb /fsys1 ext4 defaults 0 1" >> /etc/fstab
mount -a
# Set hostname
hostnamectl set-hostname ubuntu2004-amd64.math
```
......@@ -23,11 +23,11 @@ export PGADMIN_SETUP_PASSWORD={{vars.init_setup_password}}
mkdir /etc/pgadmin || true
<<EOF cat > /etc/pgadmin/config_system.py
# AUTHENTICATION_SOURCES = ['remoteuser', 'internal']
# REMOTEUSER_MAIL_DOMAIN = '@uwaterloo.ca'
AUTHENTICATION_SOURCES = ['webserver', 'internal']
WEBSERVER_AUTO_CREATE_USER = True
MASTER_PASSWORD = True
MAIL_SERVER = '{{vars.email_host}}'
MAIL_PORT = 25
# MAIL_USE_SSL = False
MAIL_USE_TLS = True
MAIL_USERNAME = '{{vars.email_host_user}}'
MAIL_PASSWORD = '{{vars.email_host_password}}'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment