From a8420817cb2bd6bb5dcca9ce06ca63faa2358874 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20P=C3=B6hn?= Date: Sat, 25 Mar 2017 23:50:10 +0100 Subject: [PATCH] fix calling vagrant global-status --- buildserver/Vagrantfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/buildserver/Vagrantfile b/buildserver/Vagrantfile index 6d5e018e..15bcfca8 100644 --- a/buildserver/Vagrantfile +++ b/buildserver/Vagrantfile @@ -1,6 +1,9 @@ require 'yaml' -configfile = YAML.load_file('Vagrantfile.yaml') +require 'pathname' + +srvpath = Pathname.new(File.dirname(__FILE__)).realpath +configfile = YAML.load_file(File.join(srvpath, "/Vagrantfile.yaml")) Vagrant.configure("2") do |config| -- 2.30.2