From b5c6a9ddff61f9ed783c6ac6e3feb952f85094f2 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Tue, 21 Jun 2016 17:22:10 +0200 Subject: lvc: put VM storage in /srv/workspace/vm-pools/ --- cucumber/features/support/helpers/storage_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cucumber/features') diff --git a/cucumber/features/support/helpers/storage_helper.rb b/cucumber/features/support/helpers/storage_helper.rb index a96bc514..2040937b 100644 --- a/cucumber/features/support/helpers/storage_helper.rb +++ b/cucumber/features/support/helpers/storage_helper.rb @@ -19,7 +19,7 @@ class VMStorage pool_xml = REXML::Document.new(File.read("#{@xml_path}/storage_pool.xml")) pool_name = LIBVIRT_DOMAIN_NAME pool_xml.elements['pool/name'].text = pool_name - @pool_path = "#{$config["TMPDIR"]}/pool-#{pool_name}" + @pool_path = "/srv/workspace/vm-pools/#{pool_name}" begin @pool = @virt.lookup_storage_pool_by_name(pool_name) rescue Libvirt::RetrieveError -- cgit v1.2.3-70-g09d2