# HG changeset patch # User ymh # Date 1394787817 -3600 # Node ID dc75c8d65289d179bf73ef4a6be213f9ca2682fc # Parent 736fdedb7774a4b17ba381615adf5effb12660aa add a way to specify the custom.yaml file path with the SYSCONFIG env variable diff -r 736fdedb7774 -r dc75c8d65289 dev/Vagrantfile --- a/dev/Vagrantfile Fri Mar 14 03:08:58 2014 +0100 +++ b/dev/Vagrantfile Fri Mar 14 10:03:37 2014 +0100 @@ -3,7 +3,7 @@ require 'yaml' -custom_file_path = File.join(__dir__, 'custom.yaml') +custom_file_path = File.join(__dir__, (ENV['SYSCONFIG'] || 'custom.yaml')) context = File.exist?(custom_file_path)?YAML::load_file(custom_file_path):{}