diff --git a/Vagrantfile b/Vagrantfile index 929641561bfd389ebf622b26f76a7d7d6dcb4c8a..1d3a5dbdbac0617b88e9056c5a146daf4190ec10 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -87,16 +87,18 @@ Vagrant.configure("2") do |config| usermod -aG sudo scodoc cp $CONFIG/.bashrc /home/scodoc/.bashrc su -c "psql -c 'GRANT postgres TO scodoc;'" postgres - + chpasswd <<EOF +scodoc:r6a06$$ +EOF echo "configure ssh to scodoc" cd /home/vagrant cp -r .ssh /home/scodoc cd /home/scodoc chown -R scodoc:scodoc .ssh - echo "%scodoc ALLL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/scodoc + echo "%scodoc ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/scodoc echo 'install development data' - su -c "createdb SCODOC_DEV" scodoc + su -c "createdb SCODOC" scodoc rm /opt/scodoc/.env cp $CONFIG/.env /opt/scodoc/.env cd /opt/scodoc diff --git a/config/SCODOC.tgz b/config/SCODOC.tgz index fe6078afa370115197f9c26346846a1910e52e59..6defde5b9fa090bd3eb2c65d8f8d6e5818e29a5a 100644 Binary files a/config/SCODOC.tgz and b/config/SCODOC.tgz differ diff --git a/config/SCODOC_DEV.tgz b/config/SCODOC_DEV.tgz deleted file mode 100644 index e5dc335553df1ec3253cdd898772286b9c0ab45e..0000000000000000000000000000000000000000 Binary files a/config/SCODOC_DEV.tgz and /dev/null differ