Skip to content

Commit

Permalink
Reload also virtual interfaces when updating net config. bnc#993587
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Sep 7, 2016
1 parent 4e83c45 commit 236fbec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/modules/Lan.rb
Expand Up @@ -1138,10 +1138,14 @@ def activate_network_service
NetworkService.ReloadOrRestart if Stage.normal || !Linuxrc.usessh

when :remote_installer
ifaces = LanItems.getNetworkInterfaces

# last instance handling "special" cases like ssh installation
# FIXME: most probably not everything will be set properly
log.info("Running in ssh/vnc installer -> just setting links up")
LanItems.reload_config(LanItems.GetAllInterfaces())
log.info("Available interfaces: #{ifaces}")

LanItems.reload_config(ifaces)
end
end
end
Expand Down

0 comments on commit 236fbec

Please sign in to comment.