From 5f925d061b8b94ac22c4812aca57217210ee0c53 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 9 Feb 2016 07:49:55 -0600 Subject: [PATCH] Add user_data alias for userdata in os_server The old nova_compute module called the parameter user_data - having an alias to the old name is friendly. Fixes Issue #2920 --- 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 c626d503d64..bba58b70e7f 100644 --- a/cloud/openstack/os_server.py +++ b/cloud/openstack/os_server.py @@ -545,7 +545,7 @@ def main(): network = dict(default=None), nics = dict(default=[], type='list'), meta = dict(default=None), - userdata = dict(default=None), + userdata = dict(default=None, aliases=['user_data']), config_drive = dict(default=False, type='bool'), auto_ip = dict(default=True, type='bool', aliases=['auto_floating_ip', 'public_ip']), floating_ips = dict(default=None),