From 0efbbe18bfc77754336a359f0b84e964caaedbff Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 23 Feb 2018 16:02:37 +0100 Subject: [PATCH 1/2] make /tmp writeable in the Vagrant VM --- util/vagrant_provision.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/vagrant_provision.sh b/util/vagrant_provision.sh index 2029d97d58..7ca5a1f4e3 100755 --- a/util/vagrant_provision.sh +++ b/util/vagrant_provision.sh @@ -92,5 +92,6 @@ echo "*/10 * * * * cd /vagrant; /usr/bin/php scripts/worker.php" >> friendicacro sudo crontab friendicacron sudo rm friendicacron -#Optional: checkout addon repositroy -#sudo git clone https://github.com/friendica/friendica-addons.git /vagrant/addon +# friendica needs write access to /tmp +sudo chmod 777 /tmp + From b0b690ac94242158fa7da135b61373907d507860 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 23 Feb 2018 16:04:20 +0100 Subject: [PATCH 2/2] the host name in the VM does not need the xenial anymore --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index df019dd06f..e62efc618e 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -17,7 +17,7 @@ Vagrant.configure(2) do |config| # Create a hostname, don't forget to put it to the `hosts` file # This will point to the server's default virtual host # TO DO: Make this work with virtualhost along-side xip.io URL - config.vm.hostname = "friendica-xenial.dev" + config.vm.hostname = "friendica.dev" # Create a static IP config.vm.network :private_network, ip: server_ip