Giter Club home page Giter Club logo

Comments (4)

bgilbert avatar bgilbert commented on June 21, 2024 1

I tried it, and Azure DHCP apparently is not sending the hostname when requested to. On Container Linux I think WALinuxAgent is setting the hostname. So implementing in Afterburn and running that in the initramfs seems like the right approach.

from afterburn.

serbrech avatar serbrech commented on June 21, 2024

@jpang @imcleod @awesomenix

from afterburn.

lucab avatar lucab commented on June 21, 2024

I seem to remember the Azure DHCP is able to hand out the hostname to a node via DHCP (Option-12, possibly), which would be the reason why Afterburn doesn't have to take care of that.

Is either the DCHP client not asking/handling that option, or the server not providing it?

from afterburn.

lucab avatar lucab commented on June 21, 2024

Then I was mixing up with some other cloud provider, and we have indeed to add such logic to Afterburn.

While I didn't see a JSON schema for the metadata response, there are comprehensive examples and docs at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service#getting-more-information-about-the-vm-during-support-case. As we don't care about other properties in there for the moment, the individual textual-format field is probably a better target to consume.

For completeness, this seems to cover host name only (not node FQDN).

from afterburn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.