Skip to content

sources/hetzner: Use EphemeralDHCPv4 instead of static configuration#1251

Merged
TheRealFalcon merged 1 commit into
canonical:mainfrom
hetzneronline:switch-to-DHCP
Feb 9, 2022
Merged

sources/hetzner: Use EphemeralDHCPv4 instead of static configuration#1251
TheRealFalcon merged 1 commit into
canonical:mainfrom
hetzneronline:switch-to-DHCP

Conversation

@asciiprod
Copy link
Copy Markdown
Contributor

Proposed Commit Message

sources/hetzner: Use EphemeralDHCPv4 instead of static configuration

Signed-off-by: Markus Schade markus.schade@hetzner.com

When the datasource was originally submitted, EphemeralDHCPv4 was not
yet available. Also avoid race conditions by skipping network
configuration if metadata service can be reached.

Also update test examples to current IP addresses.

Checklist:

  • My code follows the process laid out in the documentation
  • I have updated or added any unit tests accordingly
  • I have updated or added any documentation accordingly

Comment thread cloudinit/sources/DataSourceHetzner.py Outdated
When the datasource was originally submitted, EphemeralDHCPv4 was not
yet available. Also avoid race conditions by skipping network
configuration if metadata service can be reached.

Signed-off-by: Markus Schade <markus.schade@hetzner.com>
Copy link
Copy Markdown
Contributor

@TheRealFalcon TheRealFalcon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@TheRealFalcon TheRealFalcon merged commit 159c12a into canonical:main Feb 9, 2022
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

Successfully merging this pull request may close these issues.

3 participants