mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-25 23:21:29 +03:00
parent
28bfcdb3c2
commit
3b5504a41f
@ -175,11 +175,14 @@ module OpenNebulaJSON
|
||||
dsid = params['dsid'] ? params['dsid'].to_i : params['dsid']
|
||||
name = params['name']
|
||||
vmtemplate_name = params['vmtemplate_name']
|
||||
notemplate = [true, 'true'].include?(params['notemplate'])
|
||||
|
||||
tag ="tag=#{params['tag']}" if params['tag'] && !params['tag'].empty?
|
||||
rc = export({
|
||||
:dsid => dsid,
|
||||
:name => name,
|
||||
:vmtemplate_name => vmtemplate_name,
|
||||
:notemplate => notemplate,
|
||||
:url_args => tag
|
||||
})
|
||||
|
||||
|
@ -181,7 +181,8 @@ define(function(require) {
|
||||
var marketPlaceAppObj = {
|
||||
"name" : $("#NAME", context).val(),
|
||||
"vmtemplate_name" : $("#VMNAME", context).val(),
|
||||
"dsid" : this.datastoresTable.idInput().val()
|
||||
"dsid" : this.datastoresTable.idInput().val(),
|
||||
"notemplate" : $("#NOTEMPLATE", context).is(':checked')
|
||||
};
|
||||
|
||||
if (this.dockertagsTable) {
|
||||
|
@ -36,6 +36,14 @@
|
||||
<input id="VMNAME" type="text" wizard_field="VMNAME"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="medium-6 columns">
|
||||
<label for="NOTEMPLATE">
|
||||
<input id="NOTEMPLATE" type="checkbox" wizard_field="NOTEMPLATE"/>
|
||||
{{tr "Do not import/export associated VM templates/images"}}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<fieldset id="placeDatatableDatastore">
|
||||
<legend>{{tr "Select the Datastore to store the resource"}}</legend>
|
||||
{{{ datastoresTableHTML }}}
|
||||
|
Loading…
Reference in New Issue
Block a user