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