From bd2fe29c9c3fdb604c86debced23f662b98f69fc Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Sun, 27 Nov 2016 16:05:17 +0100 Subject: lvc: try setting the serial console port --- cucumber/features/support/helpers/vm_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cucumber/features/support/helpers') 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) -- cgit v1.2.3-70-g09d2