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
commands in cexec:v1.0.0
cannot resolve host, but image2disk:v1.0.0
can
#92
Comments
cexec:v1.0.0
cannot resolve host, but image2disk:v1.0.0
cancexec:v1.0.0
cannot resolve host, but image2disk:v1.0.0
can
@nicolacdnll, we run into the same. Have you managed to find a workaround? |
ok so basically an |
Wow, sincere apologies for the extremely delayed response here. This is a symptom of chroot not handling networking/dns/etc and this action not taking those things into account. Let me see if i can figure out an OS agnostic way to get networking and DNS working. Maybe bind mounts or similar. Will try some things out and report back. Thanks for your patience ! |
This indeed depends on the image being deployed. If it uses |
## Description Cleaning up the code base for improved maintainability. Add option to use the host's /etc/resolv.conf in the chroot env. This resolves issues with DNS based network calls for things like package managers, etc. ## Why is this needed Fixes: #92 ## How Has This Been Tested? ## How are existing users impacted? What migration steps/scripts do we need? ## Checklist: I have: - [ ] updated the documentation and/or roadmap (if required) - [ ] added unit or e2e tests - [ ] provided instructions on how to upgrade
Commands within
cexec:v1.0.0
cannot resolve host, butimage2disk:v1.0.0
can download files from the same host and path. The example below is with curl but the same happens with ayum install
.Expected Behaviour
To be able to curl the file like in this example: https://docs.tinkerbell.org/deploying-operating-systems/examples-rhel-centos/ Am I doing something wrong?
Current Behaviour
Your Environment
Linuxkit: https://github.com/linuxkit/linuxkit
The text was updated successfully, but these errors were encountered: