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
reviewable/pr18780/r1
Monty Taylor 9 years ago
parent b175b11a63
commit 5f925d061b

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

Loading…
Cancel
Save