mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 05:01:25 +00:00
Fix a bug with stashing original serial_term_prompt setting
Whoops. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
defab3bfcb
commit
67e7415f2f
@ -21,7 +21,7 @@ sub run {
|
||||
# do user login unless USER_LOGIN is set to string 'false'
|
||||
unless (get_var("USER_LOGIN") eq "false") {
|
||||
# this avoids us waiting 90 seconds for a # to show up
|
||||
my $origprompt = $self->{serial_term_prompt};
|
||||
my $origprompt = $testapi::distri->{serial_term_prompt};
|
||||
$testapi::distri->{serial_term_prompt} = '$ ';
|
||||
console_login(user=>get_var("USER_LOGIN", "test"), password=>get_var("USER_PASSWORD", "weakpassword"));
|
||||
$testapi::distri->{serial_term_prompt} = $origprompt;
|
||||
|
Loading…
Reference in New Issue
Block a user