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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user