Added parameter choices for bus.

pull/18777/head
Ethan Devenport 8 years ago committed by Matt Clay
parent 403c1ddf7b
commit dcd7544b26

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

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

Loading…
Cancel
Save