From c54f875fdd7f26a2fce6cd2986b096a283452b2e Mon Sep 17 00:00:00 2001 From: James Martin Date: Wed, 2 Sep 2015 10:18:38 -0500 Subject: [PATCH] Adds sanity check to make sure nics is a list. --- cloud/openstack/os_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/openstack/os_server.py b/cloud/openstack/os_server.py index 959f39880f8..90cc7282d04 100644 --- a/cloud/openstack/os_server.py +++ b/cloud/openstack/os_server.py @@ -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'),