Skip to content

Commit

Permalink
Closing and establishing connection with serial console before login
Browse files Browse the repository at this point in the history
  • Loading branch information
rh-jugraham committed Oct 23, 2024
1 parent b9aa15f commit 11474d2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ def check_update_device(vm, if_name, session):

error_msg = None
if status_error == "no" and not post_action:
# Close then establish a connection with the serial console
vm.cleanup_serial_console()
vm.create_serial_console()
# Serial login the vm to check link status
# Start vm check the link statue
session = vm.wait_for_serial_login(username=username,
Expand Down

0 comments on commit 11474d2

Please sign in to comment.