1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +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 5f01d00bea
commit fbc969594c

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();