1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-27 08:03: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 c9153b9ce7
commit 1c0ac6c9f7

View File

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