Skip to content

Commit

Permalink
Minor code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Nov 1, 2017
1 parent 9d8ad2a commit 55a4b45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/network/clients/save_network.rb
Expand Up @@ -242,11 +242,13 @@ def configure_hosts
NetworkAutoconfiguration.instance.configure_hosts if !configured
end

# Invokes configuration of parts which are in charge of Lan module
# Invokes configuration according automatic proposals or AY profile
#
# It creates a proposal in case of common installation. In case of AY
# installation it does full import of <networking> section
def configure_lan
NetworkAutoconfiguration.instance.configure_virtuals

if !Mode.autoinst
configure_dns
else
Expand All @@ -261,8 +263,6 @@ def configure_lan
#
# Basically, it runs several proposals.
def configure_target
NetworkAutoconfiguration.instance.configure_virtuals

# creates target's network configuration
configure_lan

Expand Down

0 comments on commit 55a4b45

Please sign in to comment.