summaryrefslogtreecommitdiffstats
path: root/cucumber/features/support/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'cucumber/features/support/helpers')
-rw-r--r--cucumber/features/support/helpers/vm_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/cucumber/features/support/helpers/vm_helper.rb b/cucumber/features/support/helpers/vm_helper.rb
index 72b244e4..5d02c115 100644
--- a/cucumber/features/support/helpers/vm_helper.rb
+++ b/cucumber/features/support/helpers/vm_helper.rb
@@ -80,7 +80,6 @@ class VM
rexml = REXML::Document.new(default_domain_xml)
rexml.elements['domain'].add_element('name')
rexml.elements['domain/name'].text = @domain_name
- rexml.elements['domain/devices/serial/source'].attributes['service'] = LIBVIRT_REMOTE_SHELL_PORT
begin
old_domain = @virt.lookup_domain_by_name(LIBVIRT_DOMAIN_NAME)
rexml.elements['domain'].add_element('uuid')
@@ -88,6 +87,7 @@ class VM
old_domain.undefine
rescue
end
+ rexml.elements['domain/devices/serial/source'].attributes['service'] = LIBVIRT_REMOTE_SHELL_PORT
update(rexml.to_s)
@display = Display.new(@domain_name, x_display)
set_cdrom_boot(TAILS_ISO)