On Tue, May 14, 2013 at 12:44 PM, William Jiang
<william.ji...@manwin.com> wrote:
> Hi Guys,
> I need create instance from Ubuntu 12.04 template and customize the hostname 
> with our company domain in the format of "vmname.doamin.com". I tried API 
> "deployVirtualMachine" and " updateVirtualMachine", but only displayed name 
> in cloudstack UI can be changed, nor is the instance hostname.
>
> Any idea or suggestions about it?
> Great Thanks,
> William


Hi William:

So there are two parts to this:

1. If you set the instance name on deploy - it should be picked up and
set the hostname (eg. vmname above) by the DHCP client.

2. If you set the 'network domain' for the account, it should populate
the 'domain.com' portion of the name, again by the DHCP client.

Hope this helps.

--David

Reply via email to