Added parameter choices for bus.

This commit is contained in:
Ethan Devenport 2016-08-31 07:46:12 +00:00 committed by Matt Clay
parent 403c1ddf7b
commit dcd7544b26
2 changed files with 2 additions and 2 deletions

View file

@ -588,7 +588,7 @@ def main():
disk_type=dict(choices=['HDD', 'SSD'], default='HDD'),
image_password=dict(default=None),
ssh_keys=dict(type='list', default=[]),
bus=dict(default='VIRTIO'),
bus=dict(choices=['VIRTIO', 'IDE'], default='VIRTIO'),
lan=dict(type='int', default=1),
count=dict(type='int', default=1),
auto_increment=dict(type='bool', default=True),

View file

@ -365,7 +365,7 @@ def main():
server=dict(),
name=dict(),
size=dict(type='int', default=10),
bus=dict(default='VIRTIO'),
bus=dict(choices=['VIRTIO', 'IDE'], default='VIRTIO'),
image=dict(),
image_password=dict(default=None),
ssh_keys=dict(type='list', default=[]),