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

Unescape kernel params

so kernel params like rancher.cloud_init.datasources='["url:http://10.0.2.2:8800/cc.yml"]' could be used
This commit is contained in:
Ivan Mikushin
2016-07-15 15:02:29 -07:00
parent b882a7c049
commit 22887dfb0b
4 changed files with 19 additions and 2 deletions

View File

@@ -176,7 +176,7 @@ func readCmdline() map[interface{}]interface{} {
log.Debugf("Config cmdline %s", cmdLine)
cmdLineObj := parseCmdline(strings.TrimSpace(string(cmdLine)))
cmdLineObj := parseCmdline(strings.TrimSpace(util.UnescapeKernelParams(string(cmdLine))))
return cmdLineObj
}