Skip to content

hostname not set via metadata #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
chorrell opened this issue Apr 30, 2015 · 2 comments
Open

hostname not set via metadata #6

chorrell opened this issue Apr 30, 2015 · 2 comments

Comments

@chorrell
Copy link
Contributor

chorrell commented Apr 30, 2015

Passing a metadata "hostname" value does not set the hostname for an lx-brand container.

The guest tools should retrieve that value, if available, and set it accordingly in the container

@sjorge
Copy link
Contributor

sjorge commented Jul 28, 2015

Perhaps it should set hostname and domainname? (assuming a fqdn is provded)
Probably needs some decent though as the docs for RHEL (centos) and debian (debian/ubuntu) seem to not agree on best practices: http://serverfault.com/questions/331936/setting-the-hostname-fqdn-or-short-name

@razamatan
Copy link

there should be something equivalent done for dhcp interfaces in lx zones where the /etc/hostname.${iface} is set to "inet $(mdata-get sdc:hostnaem)".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants