Adds sanity check to make sure nics is a list.

This commit is contained in:
James Martin 2015-09-02 10:18:38 -05:00 committed by Matt Clay
parent 6011381bf0
commit c90bf9df98

View file

@ -392,7 +392,7 @@ def main():
flavor_include = dict(default=None),
key_name = dict(default=None),
security_groups = dict(default='default'),
nics = dict(default=[]),
nics = dict(default=[], type='list'),
meta = dict(default=None),
userdata = dict(default=None),
config_drive = dict(default=False, type='bool'),