cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rene Moser <m...@renemoser.net>
Subject Re: Cannot create instance with FQDN
Date Thu, 25 Apr 2019 13:56:15 GMT
Hi

A common way to have a bootstrap mechanism in many clouds, so also in
cloudstack, is to use cloud-init [1] as described in the docs [2].

You would need to create a template (or iso) with cloud-init installed
and then pass userdata as base64 encoded cloud-config, an example for a
hostname setting would be
https://cloudinit.readthedocs.io/en/latest/topics/modules.html#update-hostname

cloud init will be executed on boot.

[1] https://cloudinit.readthedocs.io/en/latest/
[2]
http://docs.cloudstack.apache.org/en/latest/adminguide/virtual_machines/user-data.html?#using-cloud-init

On 4/25/19 3:06 PM, Fariborz Navidan wrote:
> hello folks,
> 
> When creating a new instance, it does not aceept dots to use in instance
> name  and there seems to be no way to explicitly set hostname for VM. It
> means hostnames cannot be a FQDN in ACS. How do you deal with this? Is
> there any setting to allow dots in instance name or assign hostnames
> explicitly and not to use VM name as hostname?
> 
> Kind Regards
> 

Mime
View raw message