Hi Pranav, I am using CentOS 6.3. I tried to find that file again but still no luck. I even tried the search find -name VirtualMachineName.java without results.
Could the path be different for CentOS? I dont think I understand exactly where you are asking me to look. Could you clarify for me? Thanks again, Jake ________________________________ From: Pranav Saxena <pranav.sax...@citrix.com> To: "cloudstack-users@incubator.apache.org" <cloudstack-users@incubator.apache.org>; Jake G. <dj_dark_jungl...@yahoo.com> Sent: Friday, January 25, 2013 11:25 AM Subject: RE: Custom instance names ? HI Jake , When you would cloned the incubator-cloudstack repository , you just need to navigate to this path within it - core/src/com/cloud/vm/VirtualMachineName.java . Hope you are able to find this. Thanks, Pranav -----Original Message----- From: Jake G. [mailto:dj_dark_jungl...@yahoo.com] Sent: Friday, January 25, 2013 7:01 AM To: cloudstack-users@incubator.apache.org Subject: Re: Custom instance names ? Hi Pranav, Thanks for the reply. I cannot seem to find the file VirtualMachineName.java on my management server. Would you happen to know the full path? I installed this cloudstack from a repository and not from source as per the official installation documentation. Best regards, Jake ________________________________ From: Pranav Saxena <pranav.sax...@citrix.com> To: "cloudstack-users@incubator.apache.org" <cloudstack-users@incubator.apache.org>; Jake G. <dj_dark_jungl...@yahoo.com> Sent: Thursday, January 24, 2013 8:12 PM Subject: RE: Custom instance names ? Hey Jake , I think this should be very much possible but would require some effort to modify the java code here - incubator-cloudstack/core/src/com/cloud/vm/VirtualMachineName.java . This file tries to use the StringBuilder class to generate the VM name ( instance or router VM etc) and writing it to the db. Thanks, Pranav -----Original Message----- From: Jake G. [mailto:dj_dark_jungl...@yahoo.com] Sent: Thursday, January 24, 2013 3:28 PM To: cloudstack-users@incubator.apache.org Subject: Custom instance names ? Hi All, Wondering if it is possible to include the Account Name or User Name in the instance name that is auto-created by cloudstack 4.0 (vCenter 5). Example: Current naming schema -> i-50-VM Custom naming schema -> i-50-VM-companyA or i-50-VM-companyA-jimsmith Seems like it should be possible with some variables added somewhere, but not sure. Thank you for all your help! Jake