Skip to content

Commit

Permalink
Added to_target variable
Browse files Browse the repository at this point in the history
Added the to_target variable in order to determine if during the
installation the proxy settings should be written in the target
system or not (bsc#1185016)
  • Loading branch information
teclator committed Jun 9, 2021
1 parent 86e9e7d commit 36441e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/modules/Proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ module Yast
# Configures FTP and HTTP proxies via sysconfig
# and /root/.curlrc (for YOU)
class ProxyClass < Module

# @return [Boolan] Whether the configuration should be copied to the target system
attr_accessor :to_target

def main
textdomain "proxy"

Expand All @@ -26,6 +30,7 @@ def main
@no = ""
@user = ""
@pass = ""
@to_target = false
end

# domains that should not be proxied; reader
Expand Down

0 comments on commit 36441e0

Please sign in to comment.