From e604576990f4a9cea059ace1093a4b58830323d8 Mon Sep 17 00:00:00 2001
From: Michiel de Jong <michiel@unhosted.org>
Date: Fri, 17 Oct 2014 15:06:13 +0100
Subject: [PATCH] debugging vagrant

---
 README.md   | 2 ++
 Vagrantfile | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 494d6e4..d480831 100644
--- a/README.md
+++ b/README.md
@@ -9,6 +9,8 @@ work).
 ## Prerequisites to work on this project using vagrant:
 - [vagrant](http://www.vagrantup.com/)
 - [virtualbox](https://www.virtualbox.org/)
+- nfs
+  - run `apt-get install nfs-kernel-server` or your OS equivalent
 - optional: [vagrant-hostsupdater](https://github.com/cogitatio/vagrant-hostsupdater)
   - run `vagrant plugin install vagrant-hostsupdater` to install
 
diff --git a/Vagrantfile b/Vagrantfile
index fe2500e..bbc38d6 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -44,10 +44,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
       core.vm.network :private_network, ip: "#{BASE_IP_ADDR}.#{i+1}"
       core.vm.synced_folder ".", "/data/indiehosters", id: "coreos-indiehosters", :nfs => true, :mount_options => ['nolock,vers=3,udp']
       core.vm.provision :file, source: "./cloud-config", destination: "/tmp/vagrantfile-user-data"
-      core.vm.provision :shell, inline: "cp /data/indiehosters/scripts/unsecure-certs/*.pem /data/server-wide/haproxy/approved-certs"
       core.vm.provision :shell, path: "./scripts/setup.sh", args: [HOSTNAME]
+      core.vm.provision :shell, inline: "cp /data/indiehosters/scripts/unsecure-certs/*.pem /data/server-wide/haproxy/approved-certs"
       core.vm.provision :shell, inline: "etcdctl set /services/default '{\"app\":\"nginx\", \"hostname\":\"#{HOSTNAME}\"}'"
-      core.vm.provision :shell, path: "./scripts/approve-user.sh", args: [HOSTNAME, "nginx"]
+      core.vm.provision :shell, path: "./scripts/activate-user.sh", args: [HOSTNAME, "nginx"]
     end
   end
 end
-- 
GitLab