1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

F #5332: Adjust inputs, show description

(cherry picked from commit b03efb08ae2b2c205ee1d6acdb7e1581285f2451)
This commit is contained in:
Ruben S. Montero 2021-04-29 17:17:43 +02:00
parent fd33ba72a7
commit 6ef9d016f9
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87
2 changed files with 4 additions and 10 deletions

View File

@ -28,15 +28,6 @@ inputs:
- 'lxc'
- 'firecracker'
- name: 'dns'
type: text
description: 'Comma separated list of DNS servers for public network'
default: '1.1.1.1'
- name: 'public_network_bridge'
type: text
description: 'Name of the bridge to be created by OpenNebula for public networking.'
- name: 'first_public_ip'
type: text
description: 'First public IP for the public IPs address range.'
@ -54,4 +45,4 @@ inputs:
type: text
description: 'Physical device to be used for private networking.'
...
...

View File

@ -696,6 +696,9 @@ module OneProvision
puts
desc = input['description']
puts desc if desc && !desc.empty?
case input['type']
when 'text', 'text64'
print "Text `#{input['name']}` (default=#{input['default']}): "