From 7dad4a1f0e8fb3611220e00b9da2cae737d5382b Mon Sep 17 00:00:00 2001 From: Olli Janatuinen Date: Mon, 12 Apr 2021 23:37:30 +0300 Subject: [PATCH] Change console back to iptables-legacy --- images/02-console/Dockerfile | 2 ++ scripts/images/raspberry-pi-hypriot64/Dockerfile.dapper423 | 0 2 files changed, 2 insertions(+) create mode 100644 scripts/images/raspberry-pi-hypriot64/Dockerfile.dapper423 diff --git a/images/02-console/Dockerfile b/images/02-console/Dockerfile index 92e8a5afb..7345f3455 100644 --- a/images/02-console/Dockerfile +++ b/images/02-console/Dockerfile @@ -8,6 +8,8 @@ RUN apt-get update \ sudo less curl ca-certificates psmisc htop kmod iproute2 \ net-tools bash-completion wget \ nano open-iscsi iputils-ping \ + && update-alternatives --set iptables /usr/sbin/iptables-legacy \ + && update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy \ && rm -rf /var/lib/apt/lists/* \ && rm -rf /etc/ssh/*key* \ && echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen \ diff --git a/scripts/images/raspberry-pi-hypriot64/Dockerfile.dapper423 b/scripts/images/raspberry-pi-hypriot64/Dockerfile.dapper423 new file mode 100644 index 000000000..e69de29bb