1
0
mirror of https://github.com/rancher/os.git synced 2025-07-19 17:39:04 +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
commit 0a83a4d6d0

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
}