diff options
author | Philip Hands <phil@hands.com> | 2016-11-27 16:05:17 +0100 |
---|---|---|
committer | Philip Hands <phil@hands.com> | 2016-11-27 17:16:19 +0100 |
commit | bd2fe29c9c3fdb604c86debced23f662b98f69fc (patch) | |
tree | 2df8a81dcd96846a86d0f31c50c8a52452b9bfd2 | |
parent | 2400975f23b84dacf095e216ce0f94a6d7e10523 (diff) | |
download | jenkins.debian.net-bd2fe29c9c3fdb604c86debced23f662b98f69fc.tar.xz |
lvc: try setting the serial console port
-rw-r--r-- | cucumber/features/support/helpers/vm_helper.rb | 2 |
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) |