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

F : Adjust inputs, show description

This commit is contained in:
Ruben S. Montero 2021-04-29 17:17:43 +02:00
parent 21cbc8ad81
commit b03efb08ae
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87
2 changed files with 4 additions and 10 deletions
share/oneprovision/edge-clusters/onprem/provisions/onprem.d
src/oneprovision/lib/provision

@ -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.'
...
...

@ -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']}): "