Added parameter choices for bus.

reviewable/pr18780/r1
Ethan Devenport 8 years ago
parent 86285e8824
commit 1eb5745f49

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

@ -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=[]),

Loading…
Cancel
Save