Skip to content

Commit

Permalink
changes from review
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Sep 2, 2019
1 parent 3e3101f commit 80bdcba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/y2network/connection_config/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,13 @@ class Base
# Constructor
def initialize
@ip_aliases = []
@bootproto = BootProtocol::STATIC # TODO: maybe do test query if psycical interface is attached?
@bootproto = BootProtocol::STATIC # TODO: maybe do test query if physical interface is attached?
@startmode = Startmode.create("manual")
end

# Propose reasonable defaults for given config. Useful for newly created devices.
# @note difference between constructor and propose is that initialize should set defaults same as backend
# and propose can have more tricky config or different to backend defaults.
def propose
propose_startmode
end
Expand Down

0 comments on commit 80bdcba

Please sign in to comment.