1
0
mirror of https://github.com/rancher/os.git synced 2025-09-06 17:22:34 +00:00

Merge pull request #1444 from tetatetit/top-level-cloud-config

Top level cloud config
This commit is contained in:
Sven Dowideit
2016-12-10 15:37:38 +10:00
committed by GitHub

View File

@@ -159,7 +159,9 @@ func parseCmdline(cmdLine string) map[interface{}]interface{} {
outer:
for _, part := range strings.Split(cmdLine, " ") {
if !strings.HasPrefix(part, "rancher.") {
if strings.HasPrefix(part, "cc.") {
part = part[3:]
} else if !strings.HasPrefix(part, "rancher.") {
continue
}