Skip to content

Commit 95f1d57

Browse files
authored
Drop WSL2 iptables-legacy workaround (#168)
* Drop WSL2 iptables-legacy workaround Recent WSL2 kernels support the nftables iptables backend out of the box, so forcing iptables-legacy is no longer necessary. Remove the supervisor_bootstrap script and its invocations. Confirmed working on WSL2 kernel: Linux 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025 x86_64 * Bump devcontainer version
1 parent 4a2c6f0 commit 95f1d57

File tree

6 files changed

+3
-16
lines changed

6 files changed

+3
-16
lines changed

apps/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Example devcontainer for apps repositories",
3-
"image": "ghcr.io/home-assistant/devcontainer:4-apps",
3+
"image": "ghcr.io/home-assistant/devcontainer:5-apps",
44
"overrideCommand": false,
55
"remoteUser": "vscode",
66
"appPort": ["7123:8123", "7357:4357"],

apps/rootfs/usr/bin/devcontainer_bootstrap

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
set -e
44

5-
bash /usr/bin/supervisor_bootstrap
6-
75
workspace_mount="/mnt/supervisor/addons/local/$(basename "${WORKSPACE_DIRECTORY:?}")"
86
if ! mountpoint -q "${workspace_mount}"; then
97
echo "WARNING: Mounting ${WORKSPACE_DIRECTORY} to ${workspace_mount}." >&2

apps/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4
1+
5

common/rootfs_supervisor/usr/bin/supervisor_bootstrap

Lines changed: 0 additions & 9 deletions
This file was deleted.

supervisor/rootfs/usr/bin/devcontainer_setup

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
set -e
44

5-
bash /usr/bin/supervisor_bootstrap
6-
75
if [ ! -n "$VIRTUAL_ENV" ]; then
86
if [ -x "$(command -v uv)" ]; then
97
uv venv venv

supervisor/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4
1+
5

0 commit comments

Comments
 (0)