summaryrefslogtreecommitdiffstats
path: root/cucumber
diff options
context:
space:
mode:
Diffstat (limited to 'cucumber')
-rw-r--r--cucumber/features/domains/storage_pool.xml2
-rw-r--r--cucumber/features/support/helpers/storage_helper.rb3
2 files changed, 3 insertions, 2 deletions
diff --git a/cucumber/features/domains/storage_pool.xml b/cucumber/features/domains/storage_pool.xml
index ce0a6915..1e0d6bb3 100644
--- a/cucumber/features/domains/storage_pool.xml
+++ b/cucumber/features/domains/storage_pool.xml
@@ -1,5 +1,5 @@
<pool type="dir">
- <name>DebianToasterStorage</name>
+ <name></name>
<target>
<path></path>
</target>
diff --git a/cucumber/features/support/helpers/storage_helper.rb b/cucumber/features/support/helpers/storage_helper.rb
index 21537a92..b1f316c6 100644
--- a/cucumber/features/support/helpers/storage_helper.rb
+++ b/cucumber/features/support/helpers/storage_helper.rb
@@ -17,7 +17,8 @@ class VMStorage
@virt = virt
@xml_path = xml_path
pool_xml = REXML::Document.new(File.read("#{@xml_path}/storage_pool.xml"))
- pool_name = pool_xml.elements['pool/name'].text
+ pool_name = LIBVIRT_DOMAIN_NAME
+ pool_xml.elements['pool/name'].text = pool_name
@pool_path = "#{$config["TMPDIR"]}/#{pool_name}"
begin
@pool = @virt.lookup_storage_pool_by_name(pool_name)