Skip to content

Conversation

@normanre
Copy link

@normanre normanre commented Feb 1, 2026

Hello everyone,

I added these two options to configure a http.Client for the cli:

  1. static-ip: With this option a static ip is used and DNS resolution is skipped but still the host of endpoint is used
  2. root-ca: With this option someone can define a custom root ca

I did this because DNS and certificates resolution does not work as expected on Termux for Android. With these two additions this cli can be used for Android.

One quirk with Termux is that export HCLOUD_CONFIG="$HOME/.config/hcloud/cli.toml" has to be set (for example in .bashrc)

I hope this helps also someone else.

@normanre normanre requested a review from a team as a code owner February 1, 2026 04:11
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.

1 participant