Replies: 1 comment
-
Had to change it manually in my containerfile for the podman container. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to add below oneliner to the
create.yml
playbook, in the task "Create molecule instance(s)". It comes with the pip packagemolecule_podman
?Below oneliner can be placed between lines 153-173. In file
~/.local/lib/python3.10/site-packages/molecule_podman/playbooks/create.yml
{% if item.uts is defined %}--uts={{ item.uts }}{% endif %}
This allows to use the option
uts
in themolecule.yml
, in the platforms array as part of an item. For example:This fixes the following issue with current podman versions that do not allow setting the hostname of a container by default:
Used versions:
Beta Was this translation helpful? Give feedback.
All reactions