Added parameter choices for bus.
This commit is contained in:
parent
403c1ddf7b
commit
dcd7544b26
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue