From ea7ccdb7c118661b8e2487e5b6c7c00fda4e0c85 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Tue, 6 Mar 2012 17:11:53 -0500 Subject: no need to check explicitly for user-data --- cloudinit/DataSourceMaaS.py | 3 --- 1 file changed, 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)) -- cgit v1.2.3