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:
parent
fd33ba72a7
commit
6ef9d016f9
@ -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