1
0
mirror of https://github.com/rancher/os.git synced 2025-06-28 15:56:58 +00:00

Merge pull request #308 from janeczku/cloud-init-cmdline

Bugfix: cloud_init datasource "cmdline" should not expect a value
This commit is contained in:
Darren Shepherd 2015-05-13 20:43:03 -07:00
commit 38a38a602a

View File

@ -397,7 +397,7 @@ func getDatasources(cfg *rancherConfig.Config) []datasource.Datasource {
dss = append(dss, url.NewDatasource(parts[1]))
}
case "cmdline":
if len(parts) == 2 {
if len(parts) == 1 {
dss = append(dss, proc_cmdline.NewDatasource())
}
case "configdrive":