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
This commit is contained in:
Monty Taylor 2016-02-09 07:49:55 -06:00 committed by Matt Clay
parent 56f1d6f794
commit 6aaee42604

View file

@ -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),