From 09900401ee9dabdfc29b338f8d90f8904b4eb9b3 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 23 Nov 2018 01:42:59 +0100 Subject: [PATCH] WIP: --- all_new_2018/apt-mark/server | 2 ++ all_new_2018/setup_server.sh | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/all_new_2018/apt-mark/server b/all_new_2018/apt-mark/server index c51942b..8d332e0 100644 --- a/all_new_2018/apt-mark/server +++ b/all_new_2018/apt-mark/server @@ -4,3 +4,5 @@ openssh-server readline-common # provides letsencrypt certbot +# provides systemd scripts that configure iptables via /etc/iptables/* +iptables-persistent \ No newline at end of file diff --git a/all_new_2018/setup_server.sh b/all_new_2018/setup_server.sh index e4fbaa2..c3d5ce5 100755 --- a/all_new_2018/setup_server.sh +++ b/all_new_2018/setup_server.sh @@ -19,6 +19,11 @@ fqdn="$2" # Set hostname and FQDN. ./set_hostname_and_fqdn.sh "${hostname}" "${fqdn}" +# Some debconf selections we don't want to get asked during coming +# install actions. +debconf-set-selections <<< "iptables-persistent iptables-persistent/autosave_v4 boolean false" +debconf-set-selections <<< "iptables-persistent iptables-persistent/autosave_v6 boolean false" + # Ensure package installation state as defined by what packages are # defined as required by Debian policy and by settings in ./apt-mark/. apt update -- 2.30.2