From defab3bfcb8b352e52a55276fa26fad6bf4f8564 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 20 Nov 2019 09:15:20 -0800 Subject: [PATCH] Correct renaming of the virtio serial consoles That second string didn't work how I thought it did. Signed-off-by: Adam Williamson --- lib/fedoradistribution.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fedoradistribution.pm b/lib/fedoradistribution.pm index 0ddd7009..cc83c53f 100644 --- a/lib/fedoradistribution.pm +++ b/lib/fedoradistribution.pm @@ -24,11 +24,11 @@ sub init() { $self->SUPER::init(); # Initialize the first virtio serial console as "virtio-console" if (check_var('BACKEND', 'qemu')) { - $self->add_console('virtio-console', 'virtio-console', {}); + $self->add_console('virtio-console', 'virtio_terminal', {}); for (my $num = 1; $num < get_var('VIRTIO_CONSOLE_NUM', 1); $num++) { # initialize second virtio serial console as # "virtio-console1", third as "virtio-console2" etc. - $self->add_console('virtio-console' . $num, 'virtio-console', {socked_path => cwd() . '/virtio_console' . $num}); + $self->add_console('virtio-console' . $num, 'virtio_terminal', {socked_path => cwd() . '/virtio_console' . $num}); } } }