From ec0340f0e844dada3a18407b59f6242a88ecd084 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl>
Date: Mon, 3 Apr 2017 11:48:45 +0200
Subject: [PATCH] run as vagrant runs as vagrant

---
 run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run.sh b/run.sh
index 94f810e..afe9551 100644
--- a/run.sh
+++ b/run.sh
@@ -9,5 +9,5 @@ if [ -e "/vagrant/build.sh" ]; then
 fi
 
 if [ -e "/vagrant/build_as_vagrant.sh" ]; then
-    bash /vagrant/build_as_vagrant.sh
+    su - vagrant -c "bash /vagrant/build_as_vagrant.sh"
 fi
-- 
GitLab