update vagrantfile to work with latest, closes #478

This commit is contained in:
Kyle Drake 2024-01-04 02:30:03 -06:00
parent bc81646302
commit 350a7039c7
5 changed files with 28 additions and 13 deletions

View file

@ -12,10 +12,10 @@ sudo su postgres -c "createuser -d vagrant"
sudo su vagrant -c "createdb neocities"
sudo su vagrant -c "createdb neocities_test"
sudo sh -c 'echo "local all postgres trust" > /etc/postgresql/10/main/pg_hba.conf'
sudo sh -c 'echo "local all all trust" >> /etc/postgresql/10/main/pg_hba.conf'
sudo sh -c 'echo "host all all 127.0.0.1/32 trust" >> /etc/postgresql/10/main/pg_hba.conf'
sudo sh -c 'echo "host all all ::1/128 trust" >> /etc/postgresql/10/main/pg_hba.conf'
sudo sh -c 'echo "local all postgres trust" > /etc/postgresql/14/main/pg_hba.conf'
sudo sh -c 'echo "local all all trust" >> /etc/postgresql/14/main/pg_hba.conf'
sudo sh -c 'echo "host all all 127.0.0.1/32 trust" >> /etc/postgresql/14/main/pg_hba.conf'
sudo sh -c 'echo "host all all ::1/128 trust" >> /etc/postgresql/14/main/pg_hba.conf'
sudo systemctl restart postgresql
# Create empty file for disposable email accounts