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

F #3059: LXD marketplace attributes (#4524)

This commit is contained in:
Frederick Borges 2020-04-15 19:26:39 +02:00 committed by GitHub
parent ebc640235a
commit 28ee8a0776
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 2 deletions

View File

@ -43,6 +43,7 @@ define(function(require) {
var MARKET_MAD_ATTRS = [
{
name: 'ENDPOINT',
id: 'ENDPOINTONE',
label: Locale.tr("Endpoint URL for marketplace"),
driver: 'one'
},
@ -97,6 +98,7 @@ define(function(require) {
},
{
name: 'ENDPOINT',
id: 'ENDPOINTS3',
label: Locale.tr("Endpoint URL for marketplace"),
driver: 's3'
},
@ -111,6 +113,32 @@ define(function(require) {
label: Locale.tr("Read block length in MB"),
tooltip: Locale.tr("Split marketapps into chunks of this size (in MB). You should **never** user a quantity larger than 100. Defaults to 32 (MB)."),
driver: 's3'
},
{
name: 'ENDPOINT',
id: 'ENDPOINTLXD',
label: Locale.tr("Endpoint URL for marketplace"),
driver: 'linuxcontainers'
},
{
name: 'IMAGE_SIZE_MB',
label: Locale.tr("Size for the image holding the rootfs in MB"),
driver: 'linuxcontainers'
},
{
name: 'FILESYSTEM',
label: Locale.tr("Filesystem used for the image"),
driver: 'linuxcontainers'
},
{
name: 'FORMAT',
label: Locale.tr("Image block file format"),
driver: 'linuxcontainers'
},
{
name: 'SKIP_UNTESTED',
label: Locale.tr("Show only auto-contextualized apps"),
driver: 'linuxcontainers'
}
]
/*
@ -274,4 +302,3 @@ define(function(require) {
}
}
});

View File

@ -52,7 +52,12 @@
<span class="tip">{{this.tooltip}}</span>
{{/if}}
</label>
<input id="{{this.name}}" type="text" wizard_field="{{this.name}}"/>
{{#if this.id }}
<input id="{{this.id}}" type="text" wizard_field="{{this.name}}"/>
{{else}}
<input id="{{this.name}}" type="text" wizard_field="{{this.name}}"/>
{{/if}}
</div>
{{/each}}
</div>