From: Christian Heller Date: Fri, 23 Nov 2018 00:42:59 +0000 (+0100) Subject: WIP: X-Git-Url: https://plomlompom.com/repos/edit?a=commitdiff_plain;h=09900401ee9dabdfc29b338f8d90f8904b4eb9b3;p=config WIP: --- 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