Skip to content

Commit

Permalink
Merge pull request #5954 from rh-jugraham/domif_setlink_getlink
Browse files Browse the repository at this point in the history
Domif_setlink_getlink: closing and establishing connection with serial console before login
  • Loading branch information
Yingshun authored Oct 24, 2024
2 parents ccbef63 + 11474d2 commit 63d49a8
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 63d49a8

Please sign in to comment.