1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

Drop g-i-s disablement in desktop_login

The g-i-s new user mode was removed in F34, so we don't need to
do this any more (as the now-removed comment said).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-05-16 16:09:28 -07:00
parent 375c7409af
commit 77cadae5d4

View File

@ -39,15 +39,6 @@ sub adduser {
assert_script_run "chage --lastday 0 $login";
}
assert_script_run "grep $login /etc/passwd";
# Disable Gnome initial setup on accounts when testing
# inside Gnome.
if ($desktop eq "gnome") {
assert_script_run "mkdir /home/$login/.config";
# gnome-initial-setup-done is obsolete from F34 onwards, can be removed after F33 EOL
assert_script_run "echo 'yes' >> /home/$login/.config/gnome-initial-setup-done";
assert_script_run "chown -R $login.$login /home/$login/.config";
assert_script_run "restorecon -vr /home/$login/.config";
}
}
sub lock_screen {