Quadlet add support for --add-host #23692
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
quadlet
Feature request description
In a quadlet file, I don't see any options equivalent to the --add-host of the podman run command.
Today if we want to add some hosts, we need to do :
PodmanArgs=--add-host my-host-name:192.168.10.10 --add-host my-second-host-name:192.168.10.10 --add-host my-third-host-name:192.168.10.11
Suggest potential solution
For Pod and Container units, I'd like to have a key AddHost which allows me to define the same behavior as the --add-host argument.
Example :
If possible, it would even be better if we can define multiple hostnames for a single IP at once. The previous example would look like :
Have you considered any alternatives?
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: