diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-03-06 17:11:53 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-03-06 17:11:53 -0500 |
commit | ea7ccdb7c118661b8e2487e5b6c7c00fda4e0c85 (patch) | |
tree | edadd5038a2c5c58735140399046e9b84dd9ea03 | |
parent | 27ad683638a30e202a0def71485fade430976856 (diff) | |
download | vyos-cloud-init-ea7ccdb7c118661b8e2487e5b6c7c00fda4e0c85.tar.gz vyos-cloud-init-ea7ccdb7c118661b8e2487e5b6c7c00fda4e0c85.zip |
no need to check explicitly for user-data
-rw-r--r-- | cloudinit/DataSourceMaaS.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cloudinit/DataSourceMaaS.py b/cloudinit/DataSourceMaaS.py index 88686b13..fc4e890d 100644 --- a/cloudinit/DataSourceMaaS.py +++ b/cloudinit/DataSourceMaaS.py @@ -196,9 +196,6 @@ def check_seed_contents(content, seed): if len(content) == 0: raise MaasSeedDirNone("%s: no data files found" % seed) - if 'user-data' not in content: - raise MaasSeedDirMalformed("%s: missing user-data" % seed) - missing = [k for k in md_required if k not in found] if len(missing): raise MaasSeedDirMalformed("%s: missing files %s" % (seed, missing)) |