1
0
mirror of https://github.com/rancher/os.git synced 2025-09-08 02:01:27 +00:00

Refactor a little so 'ros os list' also uses the configured proxy info

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-09-15 12:14:40 +10:00
parent a608098c39
commit baee5d18ea
4 changed files with 13 additions and 14 deletions

View File

@@ -451,7 +451,7 @@ func RunInit() error {
}},
config.CfgFuncData{"load modules2", loadModules},
config.CfgFuncData{"set proxy env", func(cfg *config.CloudConfig) (*config.CloudConfig, error) {
network.SetProxyEnvironmentVariables(cfg)
network.SetProxyEnvironmentVariables()
return cfg, nil
}},
config.CfgFuncData{"init SELinux", initializeSelinux},