Skip to content

Commit

Permalink
Merge pull request os-autoinst#19403 from chcao/workaround_to_enable_…
Browse files Browse the repository at this point in the history
…wicked_service

Add a workaround to enable wicked service
  • Loading branch information
jknphy authored May 29, 2024
2 parents 5664884 + a0114fb commit 4651c64
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/migration/online_migration/zypper_migration.pm
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ sub run {
# during restart of the X/GDM stack
if (is_sle_micro) {
check_reboot_changes;
# Workaround to enable and start wicked service
if ((script_run('systemctl is-active wicked.service')) != 0) {
record_info('INFO', 'Workaround to enable and start wicked service');
systemctl 'enable wicked.service';
systemctl 'start wicked.service';
}
} else {
power_action('reboot', textmode => 1);
reconnect_mgmt_console if is_pvm;
Expand Down

0 comments on commit 4651c64

Please sign in to comment.