diff --git a/src/sunstone/public/js/plugins/templates-tab.js b/src/sunstone/public/js/plugins/templates-tab.js index 7d70ecc280..2deda3cd19 100644 --- a/src/sunstone/public/js/plugins/templates-tab.js +++ b/src/sunstone/public/js/plugins/templates-tab.js @@ -40,7 +40,7 @@ var create_template_tmpl = '
\ \
\ @@ -73,7 +73,7 @@ var create_template_tmpl = '
\ \
Amount of RAM required for the VM, in Megabytes.
\
\ -
\ +
\ \ \
Percentage of CPU divided by 100 required for the Virtual Machine. Half a processor is written 0.5.
\ @@ -140,10 +140,6 @@ var create_template_tmpl = '
\
\ \ \
Boot device type
\
\ @@ -205,7 +201,7 @@ var create_template_tmpl = '
\ \ \ \ -
Disk file location path or URL. Mandatory for swap, fs and block images
\ +
Size in MB
\
\
\ \ @@ -967,6 +963,14 @@ function setupCreateTemplateDialog(){ '; $('div#disks select#TYPE').html(type_opts); + + var boot_opts = + '\ + \ + \ + '; + + $('div#os_boot_opts select#BOOT').html(boot_opts); $('div#kernel_bootloader',section_os_boot).show(); @@ -1019,6 +1023,7 @@ function setupCreateTemplateDialog(){ $('div#disks select#TYPE').html(type_opts); + $('div#os_boot_opts select#BOOT').empty(); $('div#kernel_bootloader',section_os_boot).show(); $('select#boot_method option:selected').removeAttr("selected"); @@ -1058,7 +1063,9 @@ function setupCreateTemplateDialog(){ \ '; - $('div#disks select#TYPE').html(type_opts); + $('div#os_boot_opts select#BOOT').empty(); + + $('div#disks select#BOOT').empty(); $('select#boot_method option').removeAttr("selected"); $('select#boot_method option#no_boot').html("Driver default");