Sha256: 47fd44af220e3feff8e1a734bb74048734f80c4ced552961f8b615682b3896e6
Contents?: true
Size: 290 Bytes
Versions: 7
Compression:
Stored size: 290 Bytes
Contents
#!/bin/bash if [ ! -f $FLAG_FOLDER/pg ];then sudo -u postgres psql -c "CREATE USER vagrant with PASSWORD 'vagrant';" sudo -u postgres psql -c "CREATE DATABASE vagrant;" sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE vagrant to vagrant;" touch $FLAG_FOLDER/pg fi
Version data entries
7 entries across 7 versions & 1 rubygems