From 5a362c262aa68586c81751ffdb90956e9125bdf8 Mon Sep 17 00:00:00 2001 From: Evgeniy L Date: Wed, 27 May 2015 16:52:24 +0200 Subject: [PATCH] Use path to resources instances from config Conflicts: config.yml --- solar/solar/core/resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solar/solar/core/resource.py b/solar/solar/core/resource.py index 0369dffa..4f7861b5 100644 --- a/solar/solar/core/resource.py +++ b/solar/solar/core/resource.py @@ -193,7 +193,7 @@ def assign_resources_to_nodes(resources, nodes, dst_dir): def connect_resources(profile): connections = profile.get('connections', []) - resources = load_all('/vagrant/tmp/resource-instances/') + resources = load_all(solar.utils.read_config()['resource-instances-path']) graph = ResourcesConnectionGraph(connections, resources.values()) for connection in graph.iter_connections():