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:
commit
38a38a602a
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user