summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/DataSourceNoCloud.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cloudinit/DataSourceNoCloud.py b/cloudinit/DataSourceNoCloud.py
index 6403d879..4cbbeded 100644
--- a/cloudinit/DataSourceNoCloud.py
+++ b/cloudinit/DataSourceNoCloud.py
@@ -106,6 +106,7 @@ class DataSourceNoCloud(DataSource.DataSource):
def parse_cmdline_data(ds_id,fill,cmdline=None):
if cmdline is None:
cmdline = util.get_cmdline()
+ cmdline = " %s " % cmdline
if not ( " %s " % ds_id in cmdline or " %s;" % ds_id in cmdline ):
return False