1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-30 09:33:07 +00:00

Update the server part.

This commit is contained in:
Lukas Ruzicka 2024-10-17 16:48:51 +02:00 committed by Adam Williamson
parent 4f6b3b4d7c
commit 008c48bf2f

View File

@ -8,7 +8,6 @@ sub run {
my $user = get_var("USER_LOGIN", "test"); my $user = get_var("USER_LOGIN", "test");
my $password = get_var("USER_PASSWORD", "weakpassword"); my $password = get_var("USER_PASSWORD", "weakpassword");
#boot_to_login_screen(timeout => 300);
$self->root_console(tty => 3); $self->root_console(tty => 3);
# Make necessary settings for the RDP server. # Make necessary settings for the RDP server.
# Set SElinux to permissive to workaround a Fedora issue # 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. # but let's open it explicitely, to make sure it is open.
assert_script_run("firewall-cmd --add-port=3389/tcp"); 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 # Change to Desktop
desktop_vt(); desktop_vt();