Enable OOTB support for IPv6

This commit is contained in:
thespad
2026-02-21 14:07:10 +00:00
parent e08f89adff
commit ab7825bc6c
3 changed files with 15 additions and 0 deletions

View File

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

View File

@@ -131,6 +131,7 @@ init_diagram: |
"jellyfin:nightly" <- Base Images
# changelog
changelogs:
- {date: "21.02.26:", desc: "Add support for IPv6 OOTB."}
- {date: "20.10.25:", desc: "Add libjemalloc2 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 \