1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 23:04:41 +00:00

make cloud-config the configuration mechanism for RancherOS

This commit is contained in:
Ivan Mikushin
2015-07-29 11:52:15 +05:00
parent 5d93d51fc5
commit 7ad60c07bd
24 changed files with 919 additions and 917 deletions

View File

@@ -20,8 +20,8 @@ func envAction(c *cli.Context) {
args := c.Args()
osEnv := os.Environ()
envMap := make(map[string]string, len(cfg.Environment)+len(osEnv))
for k, v := range cfg.Environment {
envMap := make(map[string]string, len(cfg.Rancher.Environment)+len(osEnv))
for k, v := range cfg.Rancher.Environment {
envMap[k] = v
}
for k, v := range util.KVPairs2Map(osEnv) {