1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00

Read rancher.yml from cloud config

This commit is contained in:
Darren Shepherd
2015-03-18 05:39:33 -07:00
parent c737fc9a71
commit b351efa111

View File

@@ -56,7 +56,7 @@ func saveToDisk(data map[interface{}]interface{}) error {
}
func readSavedConfig(bytes []byte) (map[interface{}]interface{}, error) {
return readConfig(bytes, ConfigFile, PrivateConfigFile)
return readConfig(bytes, CloudConfigFile, ConfigFile, PrivateConfigFile)
}
func readConfig(bytes []byte, files ...string) (map[interface{}]interface{}, error) {