From 454a8c8b03829f195f4b9fc288510d871405bea6 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 16 Dec 2014 15:38:40 +0100 Subject: [PATCH] Change vhosts path --- lamp-precise64/.gitignore | 1 + lamp-precise64/bootstrap.sh | 8 ++++---- lamp-trusty64/bootstrap.sh | 8 ++++---- lamp-trusty64/vhosts/.gitignore | 1 + 4 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 lamp-precise64/.gitignore create mode 100644 lamp-trusty64/vhosts/.gitignore diff --git a/lamp-precise64/.gitignore b/lamp-precise64/.gitignore new file mode 100644 index 0000000..c1a0118 --- /dev/null +++ b/lamp-precise64/.gitignore @@ -0,0 +1 @@ +/.vagrant/ diff --git a/lamp-precise64/bootstrap.sh b/lamp-precise64/bootstrap.sh index d48c3b3..36c2cf8 100644 --- a/lamp-precise64/bootstrap.sh +++ b/lamp-precise64/bootstrap.sh @@ -80,13 +80,13 @@ then cp /vagrant/data/test /vagrant/vhosts/test if -if [ ! -f /home/vhosts/phpmyadmin.conf ] +if [ ! -f /vagrant/vhosts/phpmyadmin.conf ] then - cp /vagrant/data/phpmyadmin.conf /home/vhosts/phpmyadmin.conf + cp /vagrant/data/phpmyadmin.conf /vagrant/vhosts/phpmyadmin.conf fi -if [ ! -f /home/vhosts/test.conf ] +if [ ! -f /vagrant/vhosts/test.conf ] then - cp /vagrant/data/test.conf /home/vhosts/test.conf + cp /vagrant/data/test.conf /vagrant/vhosts/test.conf fi # Disable all website diff --git a/lamp-trusty64/bootstrap.sh b/lamp-trusty64/bootstrap.sh index 89adbde..ae39f16 100644 --- a/lamp-trusty64/bootstrap.sh +++ b/lamp-trusty64/bootstrap.sh @@ -74,13 +74,13 @@ then sudo mkdir /home/vhosts/test fi -if [ ! -f /home/vhosts/phpmyadmin.conf ] +if [ ! -f /vagrant/vhosts/phpmyadmin.conf ] then - cp /vagrant/data/phpmyadmin.conf /home/vhosts/phpmyadmin.conf + cp /vagrant/data/phpmyadmin.conf /vagrant/vhosts/phpmyadmin.conf fi -if [ ! -f /home/vhosts/test.conf ] +if [ ! -f /vagrant/vhosts/test.conf ] then - cp /vagrant/data/test.conf /home/vhosts/test.conf + cp /vagrant/data/test.conf /vagrant/vhosts/test.conf fi # Disable all website diff --git a/lamp-trusty64/vhosts/.gitignore b/lamp-trusty64/vhosts/.gitignore new file mode 100644 index 0000000..4ba6098 --- /dev/null +++ b/lamp-trusty64/vhosts/.gitignore @@ -0,0 +1 @@ +/*.conf