diff --git a/src/sunstone/public/js/plugins/templates-tab.js b/src/sunstone/public/js/plugins/templates-tab.js
index 67288e875b..beb073f0e7 100644
--- a/src/sunstone/public/js/plugins/templates-tab.js
+++ b/src/sunstone/public/js/plugins/templates-tab.js
@@ -3088,7 +3088,7 @@ function setupCreateTemplateDialog(){
''+
'
'+
'
'+
- ''+
+ ''+
'
'+
'
'+
''+
@@ -3099,12 +3099,12 @@ function setupCreateTemplateDialog(){
'
'+
'
'+
'
'+
- ''+
+ ''+
'
'+
'
'+
'
'+
'
'+
- ''+
+ ''+
'
'+
'
'+
''+
@@ -3114,7 +3114,7 @@ function setupCreateTemplateDialog(){
''+
'
'+
'
'+
- ''+
+ ''+
'
'+
'
'+
''+
@@ -3195,7 +3195,7 @@ function setupCreateTemplateDialog(){
''+
'
'+
'
'+
- '
'+tr("OpenNebula expects the VM to have an OpenNebula contextualization package installed, which will look for a script called init.sh in the contextualization CD. If you want the VM to execute an script that is not called init.sh (or if you want to call more than just one script),this list contains the scripts to run and their order. Ex. \"init.sh users.sh mysql.sh\" will force the VM to execute init.sh , then users.sh and lastly mysql.sh at boot time")+'
'+
+ '
'+tr("If the VM uses the OpenNebula contextualization package the init.sh file is executed by default. When the init script added is not called init.sh or more than one init script is added, this list contains the scripts to run and the order. Ex. “init.sh users.sh mysql.sh”")+'
'+
'
'+
'
'+
''+
@@ -4049,7 +4049,7 @@ function setupCreateTemplateDialog(){
});
if ($("#ssh_context", $('li#contextTab')).is(":checked")) {
- var public_key = $("#ssh_puclic_key", $('li#contextTab')).val();
+ var public_key = $("#ssh_public_key", $('li#contextTab')).val();
if (public_key){
vm_json["CONTEXT"]["SSH_PUBLIC_KEY"] = public_key;
}
@@ -4602,7 +4602,7 @@ function fillTemplatePopUp(request, response){
$("#ssh_context", context_section).attr('checked','checked');
if (!publickey_regexp.test(value)) {
- $("input#ssh_puclic_key").val(value);
+ $("input#ssh_public_key").val(value);
}
}
else if (token_regexp.test(key)) {