You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Marty Godsey <ma...@gonsource.com> on 2016/08/15 00:52:49 UTC

Changing name of instance

Is it possible to change the name of an instance AFTER it is created? I don't see anything obvious. Does this require database modifications?

Regards,
Marty Godsey


Re: Changing name of instance

Posted by Andrija Panic <an...@gmail.com>.
Or just do it in DB...there are 2 tables to be changed...

On 15 August 2016 at 07:45, Rene Moser <ma...@renemoser.net> wrote:

> Hi
>
> On 08/15/2016 02:52 AM, Marty Godsey wrote:
> > Is it possible to change the name of an instance AFTER it is created? I
> don't see anything obvious. Does this require database modifications?
> Yes it is.
>
> http://cloudstack.apache.org/api/apidocs-4.8/user/
> updateVirtualMachine.html
>
> AFAIK the UI does not support it. Consider using cloudmonkey or
> exoscale's python-cs or any other tool to do it.
>
> cs updateVritualMachine id=<id_of_vm> name=<new name>
>
> René
>



-- 

Andrija Panić

Re: Changing name of instance

Posted by Rene Moser <ma...@renemoser.net>.
Hi

On 08/15/2016 02:52 AM, Marty Godsey wrote:
> Is it possible to change the name of an instance AFTER it is created? I don't see anything obvious. Does this require database modifications?
Yes it is.

http://cloudstack.apache.org/api/apidocs-4.8/user/updateVirtualMachine.html

AFAIK the UI does not support it. Consider using cloudmonkey or
exoscale's python-cs or any other tool to do it.

cs updateVritualMachine id=<id_of_vm> name=<new name>

Ren