summaryrefslogtreecommitdiffstats
path: root/vagrant_support/bmo-checksetup.j2
blob: a2695d0cf35abd8c7c0dd89e53a159bc40e53bad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

cd /vagrant

if [[ ! -f ~/localconfig || ! -f /data/params ]]; then
    perl checksetup.pl "$@" /home/vagrant/checksetup_answers.txt
    perl checksetup.pl "$@" /home/vagrant/checksetup_answers.txt
else
    cp ~/localconfig /vagrant
    perl checksetup.pl "$@" < /dev/null
    cp /vagrant/localconfig ~/
fi