mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-01-03 08:03:14 +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:
parent
375c7409af
commit
77cadae5d4
@ -39,15 +39,6 @@ sub adduser {
|
|||||||
assert_script_run "chage --lastday 0 $login";
|
assert_script_run "chage --lastday 0 $login";
|
||||||
}
|
}
|
||||||
assert_script_run "grep $login /etc/passwd";
|
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 {
|
sub lock_screen {
|
||||||
|
Loading…
Reference in New Issue
Block a user