mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-30 22:50:10 +03:00
F #5332: Adjust inputs, show description
This commit is contained in:
parent
21cbc8ad81
commit
b03efb08ae
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']}): "
|
||||
|
Loading…
x
Reference in New Issue
Block a user