Enable OOTB support for IPv6

This commit is contained in:
thespad 2026-03-02 11:18:57 +00:00
parent c39e5a4ffe
commit 3585f5722f
No known key found for this signature in database
3 changed files with 15 additions and 0 deletions

View file

@ -373,6 +373,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **02.03.26:** - Add support for IPv6 OOTB.
* **20.10.25:** - Add libjemalloc as runtime dep.
* **06.10.24:** - Fix fontconfig cache path.
* **13.08.24:** - Rebase to Ubuntu Noble.

View file

@ -133,6 +133,7 @@ init_diagram: |
"jellyfin:latest" <- Base Images
# changelog
changelogs:
- {date: "02.03.26:", desc: "Add support for IPv6 OOTB."}
- {date: "20.10.25:", desc: "Add libjemalloc as runtime dep."}
- {date: "06.10.24:", desc: "Fix fontconfig cache path."}
- {date: "13.08.24:", desc: "Rebase to Ubuntu Noble."}

View file

@ -7,6 +7,19 @@ mkdir -p \
/data \
/transcode
# test for and enable IPv6 support
if [[ ! -f /config/network.xml ]]; then
if test -f /proc/net/if_inet6; then
echo '<?xml version="1.0" encoding="utf-8"?>
<NetworkConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<EnableIPv6>true</EnableIPv6>
<LocalNetworkAddresses>
<string>::</string>
</LocalNetworkAddresses>
</NetworkConfiguration>' > /config/network.xml
fi
fi
# permissions
lsiown abc:abc \
/config \