cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pranav Saxena <pranav.sax...@citrix.com>
Subject RE: Custom instance names ?
Date Fri, 25 Jan 2013 05:45:26 GMT
I see , then you won’t be able to make the source code changes. You need to set up a developer’s
environment from the links Ahmad just now shared and then build the source code after you
have made the changes.

Thanks,
Pranav

From: Jake G. [mailto:dj_dark_junglist@yahoo.com]
Sent: Friday, January 25, 2013 11:12 AM
To: Pranav Saxena; cloudstack-users@incubator.apache.org
Subject: Re: Custom instance names ?

Pranav,

Is is not a developers environment just the normal version. I installed from a RPM with the
repo
# CloudStack Repository
[cloudstack]
name=cloudstack
baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
enabled=1
gpgcheck=0

I used yum install cloud-client to install




________________________________
From: Pranav Saxena <pranav.saxena@citrix.com>
To: "cloudstack-users@incubator.apache.org" <cloudstack-users@incubator.apache.org>;
Jake G. <dj_dark_junglist@yahoo.com>
Sent: Friday, January 25, 2013 2:34 PM
Subject: RE: Custom instance names ?

Jake ,

Can you tell me how have you set up your environment for Cloudstack ?  Is it a developer's
environment ?  If yes , then you must have cloned the cloudstack repository which contains
all the source code files . You should be able to find that file in the path I mentioned previously.

Thanks,
Pranav

-----Original Message-----
From: Jake G. [mailto:dj_dark_junglist@yahoo.com<mailto:dj_dark_junglist@yahoo.com>]
Sent: Friday, January 25, 2013 11:03 AM
To: cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>
Subject: Re: Custom instance names ?

Trying to find the file Pranav mentioned to do some testing but cant seem to find it. Any
ideas?


________________________________
From: Ahmad Emneina <Ahmad.Emneina@citrix.com<mailto:Ahmad.Emneina@citrix.com>>
To: "cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>"
<cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>>;
Jake G. <dj_dark_junglist@yahoo.com<mailto:dj_dark_junglist@yahoo.com>>
Sent: Friday, January 25, 2013 2:30 PM
Subject: Re: Custom instance names ?

Gotcha, you might want to check out the source code and find what Pranav was talking about.
You'll have to modify more code if you want things like security groups to work... OR file
a feature request. I don’t believe this behavior exists 'out of the box'.

On 1/24/13 9:23 PM, "Jake G." <dj_dark_junglist@yahoo.com<mailto:dj_dark_junglist@yahoo.com>>
wrote:

>Hi Ahmad,
>
>I am aware of that global setting, but the problem is I would like
>instance name to include the company or user name of the account that
>created the instance.
> 'instance.name<http://instance.name/>' Global setting only allows be to add static
text
>globally, which is not what I am trying to do.
>
>Thank you for your reply.
>Jake
>
>
>
>
>
>________________________________
> From: Ahmad Emneina <Ahmad.Emneina@citrix.com<mailto:Ahmad.Emneina@citrix.com>>
>To: "cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>"
><cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>>;
Jake G.
><dj_dark_junglist@yahoo.com<mailto:dj_dark_junglist@yahoo.com>>
>Sent: Friday, January 25, 2013 2:18 PM
>Subject: Re: Custom instance names ?
>
>
>>-----Original Message-----
>>From: Jake G. [mailto:dj_dark_junglist@yahoo.com<mailto:dj_dark_junglist@yahoo.com>]
>>Sent: Thursday, January 24, 2013 3:28 PM
>>To: cloudstack-users@incubator.apache.org<mailto: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
>
>
>Navigate to your global settings and search for 'instance.name'. There
>you can append whatever you like, the default value is 'VM'. That¹s
>where you get the instance name 'I-<account_id>-<vm_instance_id>-VM'.
>Since this is a global, all vm's managed by the cloudstack instance will reflect this.
>
>--
>Æ


--
Æ

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message