From fbc969594ccd316b5eab1e58cc40922f705c056e Mon Sep 17 00:00:00 2001 From: Lukas Ruzicka Date: Thu, 17 Oct 2024 16:48:51 +0200 Subject: [PATCH] Update the server part. --- tests/remote_desktop_server.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/remote_desktop_server.pm b/tests/remote_desktop_server.pm index 4e47504d..306ceed2 100644 --- a/tests/remote_desktop_server.pm +++ b/tests/remote_desktop_server.pm @@ -8,7 +8,6 @@ sub run { my $user = get_var("USER_LOGIN", "test"); my $password = get_var("USER_PASSWORD", "weakpassword"); - #boot_to_login_screen(timeout => 300); $self->root_console(tty => 3); # Make necessary settings for the RDP server. # Set SElinux to permissive to workaround a Fedora issue @@ -20,6 +19,10 @@ sub run { # but let's open it explicitely, to make sure it is open. assert_script_run("firewall-cmd --add-port=3389/tcp"); + # Let's also change the hostname so that we can + # differentiate later. + assert_script_run("hostnamectl set-hostname king"); + # Change to Desktop desktop_vt();