Last active
December 26, 2023 03:32
-
-
Save scrivy/f7085c54cffb7f7f2aacb8d3374d5023 to your computer and use it in GitHub Desktop.
fedora coreos butane config for running a systemd managed ipv6 podman network and container generated by quadlet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variant: fcos | |
version: 1.5.0 | |
passwd: | |
users: | |
- name: core | |
ssh_authorized_keys: | |
- ssh-rsa aoeu= [email protected] | |
storage: | |
files: | |
# use the ipv6 capable podman backend netavark | |
- path: /etc/containers/containers.conf | |
contents: | |
inline: | | |
[network] | |
network_backend = "netavark" | |
# create a quadlet / podman-systemd.unit ipv6 network | |
- path: /etc/containers/systemd/ipv6.network | |
contents: | |
inline: | | |
[Network] | |
Label=ipv6 | |
IPv6=true | |
# quadlet / podman-systemd.unit container with ipv6 | |
- path: /etc/containers/systemd/hello-world.container | |
contents: | |
inline: | | |
[Unit] | |
Description=hello-world | |
After=network-online.target | |
Wants=network-online.target | |
[Container] | |
Image=hello-world | |
Network=ipv6.network | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment