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