vnm_mad: Use absolute instead of relative path to require scripts in vnmmad-load.d directory (#139)

(cherry picked from commit 1ba3862b64)
This commit is contained in:
Laurent Grawet authored and Ruben S. Montero committed 2016-11-05 21:47:16 +01:00
1 parent f14c4d4755
commit 46da0b16df
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ require 'sg_driver'
require 'vlan'
require 'scripts_common'
Dir["vnmmad-load.d/*.rb"].each{ |f| require f }
Dir[File.expand_path('vnmmad-load.d', File.dirname(__FILE__)) + "/*.rb"].each{ |f| require f }
include OpenNebula