# AWS Hostname default

**URL:** <https://forums.suse.com/t/aws-hostname-default/2588>\
**Category:** RancherOS\
**Created:** [April 25, 2016, 5:06am UTC](https://forums.suse.com/t/aws-hostname-default/2588 "2016-04-25T05:06:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JD\_Trout](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@JD\_Trout](https://forums.suse.com/u/JD_Trout)\
**Post date:** [April 25, 2016, 5:06am UTC](https://forums.suse.com/t/aws-hostname-default/2588/1 "2016-04-25T05:06:54Z")

</div>

I am writing to figure out what the default behavior is for hostnames when running rancherOS on AWS as I am getting mixed results. I recently deployed some AWS instances with ami-880f12e2 and the hostname came up as “rancher” rather than the one auto assigned via DHCP. In past deployments and from viewing the rancher/AWS meet-up it looks like the default behavior should be the AWS DHCP hostname - unless otherwise stated in the cloud-config.

What is courious is if I give it enough time (20-30min) the AWS DHCP based hostname will finally be assigned to the host, but that is of little value if the agent has already registered “rancher” as the hostname to my rancher environment.

Any comments about what the behavior should be would be appreciated.

Thanks!

---

<div class="post-metadata">

**Author:** ![joshwget](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/joshwget/32/704_2.png) [@joshwget](https://forums.suse.com/u/joshwget)\
**Post date:** [April 25, 2016, 5:25am UTC](https://forums.suse.com/t/aws-hostname-default/2588/2 "2016-04-25T05:25:56Z")

</div>

This is a [known issue](https://github.com/rancher/os/issues/829). It should be fixed in v0.4.5!

---

<div class="post-metadata">

**Author:** ![JD\_Trout](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@JD\_Trout](https://forums.suse.com/u/JD_Trout)\
**Post date:** [April 25, 2016, 6:20pm UTC](https://forums.suse.com/t/aws-hostname-default/2588/3 "2016-04-25T18:20:42Z")

</div>

Thank you for the update!

---

<div class="post-metadata">

**Author:** ![tsmithco](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/tsmithco/32/7310_2.png) [@tsmithco](https://forums.suse.com/u/tsmithco)\
**Post date:** [March 9, 2021, 9:05pm UTC](https://forums.suse.com/t/aws-hostname-default/2588/4 "2021-03-09T21:05:03Z")

</div>

still an issue in current version
