Add magic wait time to aaa_setup
This commit is contained in:
parent
b7bef16137
commit
8d7146dc9c
1 changed files with 3 additions and 1 deletions
|
|
@ -16,7 +16,9 @@ sub run {
|
|||
# Remove the user clear the system and force the gnome-initial-setup
|
||||
# to start on new boot.
|
||||
assert_script_run("loginctl kill-user $username");
|
||||
# that might switch us back to GDM, switch away if so
|
||||
# do nothing for 10 seconds to give the previous command finish correctly
|
||||
sleep(10);
|
||||
# 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);
|
||||
assert_script_run("userdel -r $username");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue