Comments (4)
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.
from afterburn.
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.
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)
- Release Afterburn 5.5.0 HOT 1
- Release Afterburn 5.5.1 HOT 3
- Release Afterburn 5.6.0 HOT 3
- Release 5.2.0 HOT 2
- systemd: excessive Requires/After can result in dependency failure HOT 2
- Test `providers::aws::mock_tests::test_aws_basic` is flaky HOT 2
- Test `providers::aws::mock_tests::test_aws_imds_versions` is flaky HOT 3
- Support IPv6 on AWS HOT 1
- Release 5.3.0 HOT 3
- afterburn-sshkeys fails if no ssh key in metadata on ibmcloud HOT 1
- Consider switching argument parsing to `clap_derive`
- Consolidate CloudStack metadata providers
- Consider enabling hostname service on subsequent boots
- Release Afterburn 5.4.0 HOT 2
- Release Afterburn 5.4.1 HOT 1
- configure user account based on azure provider specific information HOT 1
- Release Afterburn 5.4.2 HOT 7
- Afterburn reports incorrect OpenStack instance id HOT 2
- Release Afterburn 5.4.3
- Move away from `users` crate HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from afterburn.