Skip to content
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

feat: Refine #298 #300

Merged
merged 5 commits into from
Oct 17, 2024
Merged

feat: Refine #298 #300

merged 5 commits into from
Oct 17, 2024

Conversation

dav-pascual
Copy link
Member

@dav-pascual dav-pascual commented Oct 16, 2024

Amending some changes as per comments in PR #298 and adjust commit messages

abbra added 4 commits October 16, 2024 17:37
Allow to add custom network configuration to the network bridge
activated via podman provider.

Signed-off-by: Alexander Bokovoy <[email protected]>
seccomp.json example from FreeIPA Azure CI tests. It works well for both
docker and podman, both root and rootless.

Signed-off-by: Alexander Bokovoy <[email protected]>
Add seccomp.json to setup mrack package so it is included on pkg install.

Signed-off-by: Alexander Bokovoy <[email protected]>
Ansible connection.podman.podman connection module uses ansible_host as
a container ID to connect to. Use container ID instead of IP address
which cannot be reached in rootless setup anyway.

It makes `ansible -c podman -i metadata-inventory.yaml` usable in
rootless podman setup because one cannot connect over IP addresses to
the containers as the networking bridge is not visible from the host.

Signed-off-by: Alexander Bokovoy <[email protected]>
@dav-pascual dav-pascual changed the title Refine #298 feat: Refine #298 Oct 16, 2024
@dav-pascual
Copy link
Member Author

Test using env from https://github.com/abbra/freeipa-local-tests/blob/main/generate-env.sh
looks good:

[root@demo freeipa-local-tests]# podman inspect client2-ipa2demo-test-local-freeipa-test-test | grep -i ipv6
               "IPv6Gateway": "",
               "GlobalIPv6Address": "",
               "GlobalIPv6PrefixLen": 0,
               "LinkLocalIPv6Address": "",
               "LinkLocalIPv6PrefixLen": 0,
                         "IPv6Gateway": "XXXXXXXXX",
                         "GlobalIPv6Address": "YYYYYYYY",
                         "GlobalIPv6PrefixLen": 64,
[root@demo freeipa-local-tests]# podman inspect client2-ipa2demo-test-local-freeipa-test-test | grep -i network
          "NetworkSettings": {
               "Networks": {
                         "NetworkID": "local-freeipa-test-test",
                    "--network",
               "NetworkMode": "bridge",

@dav-pascual dav-pascual merged commit f43d20f into neoave:main Oct 17, 2024
16 checks passed
@dav-pascual dav-pascual self-assigned this Oct 21, 2024
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.

2 participants