1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00

F #826 Create new config file for onevntemplate command

This commit is contained in:
Christian González 2018-11-22 15:00:47 +01:00 committed by Ruben S. Montero
parent c3d3fc3ae4
commit adf092eea9
3 changed files with 33 additions and 2 deletions

View File

@ -1669,7 +1669,8 @@ CLI_CONF_FILES="src/cli/etc/onegroup.yaml \
src/cli/etc/onevdc.yaml \
src/cli/etc/onevrouter.yaml \
src/cli/etc/onemarketapp.yaml \
src/cli/etc/onemarket.yaml"
src/cli/etc/onemarket.yaml \
src/cli/etc/onevntemplate.yaml"
#-----------------------------------------------------------------------------
# Sunstone files

View File

@ -0,0 +1,30 @@
---
:ID:
:desc: ONE identifier for the Template
:size: 4
:NAME:
:desc: Name of the Template
:size: 27
:left: true
:USER:
:desc: Username of the Template owner
:size: 15
:left: true
:GROUP:
:desc: Group of the Template
:size: 15
:left: true
:REGTIME:
:desc: Registration time of the Template
:size: 15
:default:
- :ID
- :USER
- :GROUP
- :NAME
- :REGTIME

View File

@ -50,7 +50,7 @@ EOT
end
def self.conf_file
"onetemplate.yaml"
"onevntemplate.yaml"
end
INT_EXP = /^-?\d+$/