Bug #1009

Possibly misleading appended string in default VM name

Added by Alexandros Kosiaris over 12 years ago. Updated about 12 years ago.

Status:Closed Start date:08/05/2011
Priority:Low Due date:11/11/2011
Assignee:Kostas Papadimitriou % Done:

0%

Category:Cyclades UI Spent time: -
Target version:v0.8.0

Description

Synnefo's ui provides a default name for a user's VM. The default name is being generated by prepending "My " and appeding " server" to the images name in the database. e.g. "My Debian Base server". The default appended part possibly signifies intended usage and could lead to assumptions about the service being provided by synnefo which may or may not be correct.

The patch below just changes the default " server" to something more generic aka " VM". However configurable values for both prepended and appended string might be desirable.

diff --git a/ui/templates/machines.html b/ui/templates/machines.html
index 6307490..e67ff47 100644
--- a/ui/templates/machines.html
++ b/ui/templates/machines.html
@ -419,7 +419,7 @ $(function() {
if (imageRef) {
var imageName = $("label[for=" + imageRef + "] .image-title").text();
$("#machine_image-label")[0].textContent = imageName;
- $("input[type=text][name=machine_name]")[0].value = "My " + imageName + " server";
$("input[type=text][name=machine_name]")[0].value = "My " + imageName + " VM";
}
} else if (api.getIndex()==1) {
$("#machine_cpu-label")[0].textContent = $("#cpu-indicator")[0].value;

Associated revisions

Revision c130b56e
Added by Kostas Papadimitriou over 12 years ago

Configurable created vm name template, Refs #1009

History

#1 Updated by Kostas Papadimitriou over 12 years ago

  • Category set to Cyclades UI
  • Assignee set to Kostas Papadimitriou
  • Priority changed from Low to High
  • Target version set to v0.8.0

A new ui setting can be created to allow dynamically change of the new vms name template.

#2 Updated by Vangelis Koukis over 12 years ago

  • Due date set to 11/11/2011

#3 Updated by Kostas Papadimitriou over 12 years ago

  • Priority changed from High to Low

#4 Updated by Kostas Papadimitriou over 12 years ago

  • Status changed from New to Feedback

implemented on c130b56

#5 Updated by Vangelis Koukis about 12 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF