Another attempt
This commit is contained in:
parent
34aaba27ea
commit
8345550134
1 changed files with 1 additions and 2 deletions
|
|
@ -15,8 +15,7 @@ sub run {
|
|||
|
||||
# Remove the user clear the system and force the gnome-initial-setup
|
||||
# to start on new boot.
|
||||
assert_script_run("loginctl terminate-user $username");
|
||||
assert_script_run("loginctl kill-user $username");
|
||||
assert_script_run("loginctl kill-user $username", timeout => 120);
|
||||
# closing the user might switch us back to GDM, switch away if so
|
||||
$self->root_console(tty => 3) if (check_screen 'graphical_login', timeout => 30);
|
||||
# check until all user processes are terminated, then proceed and delete the user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue