Skip to content

Commit

Permalink
Added logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Oct 17, 2014
1 parent d839870 commit ec82fee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/modules/Lan.rb
Expand Up @@ -1151,8 +1151,13 @@ def HaveXenBridge
private
def activate_network_service
if LanItems.force_restart
log.info("Network service activation forced")
NetworkService.Restart
else
log.info(
("Attempting to reload network service, normal stage %s, ssh: %s") %
[Stage.normal, Linuxrc.usessh]
)
# If the second installation stage has been called by yast.ssh via
# ssh, we should not restart network cause systemctl
# hangs in that case. (bnc#885640)
Expand Down

0 comments on commit ec82fee

Please sign in to comment.