Vagrantfile: Add a symlink to /usr/share/scripts/evoadmin, to ensure the latests scripts are used

This commit is contained in:
Ludovic Poujol 2019-02-28 15:40:16 +01:00
parent 3a19d14e3a
commit 0cb7c54855
1 changed files with 2 additions and 0 deletions

2
Vagrantfile vendored
View File

@ -22,7 +22,9 @@ sed -e '/RewriteCond/ s/^#*/#/' -i /etc/apache2/sites-available/evoadmin.conf
systemctl restart apache2 systemctl restart apache2
rm -rf /home/evoadmin/www/ rm -rf /home/evoadmin/www/
rm -rf /usr/share/scripts/evoadmin/
ln -s /vagrant/ /home/evoadmin/www ln -s /vagrant/ /home/evoadmin/www
ln -s /vagrant/scripts /usr/share/scripts/evoadmin
SCRIPT SCRIPT
config.vm.define :packweb do |node| config.vm.define :packweb do |node|