X-Git-Url: https://plomlompom.com/repos/test.html?a=blobdiff_plain;f=all_new_2018%2Fsetup_server.sh;h=ea3437a444c899911e08800f2a613ffdcef627d6;hb=60e6aeb6b26bd7b810deb8c53fe696022cb673b4;hp=c3d5ce5f54c0e02c48762a42c455db78230a5462;hpb=09900401ee9dabdfc29b338f8d90f8904b4eb9b3;p=config
diff --git a/all_new_2018/setup_server.sh b/all_new_2018/setup_server.sh
index c3d5ce5..ea3437a 100755
--- a/all_new_2018/setup_server.sh
+++ b/all_new_2018/setup_server.sh
@@ -5,7 +5,7 @@ set -e
# Provide maximum input for set_hostname_and_fqdn.sh.
if [ "$#" -ne 2 ]; then
- echo "Need exactly two arguments (hostname, FQDN)."
+ echo 'Need exactly two arguments (hostname, FQDN).'
false
fi
hostname="$1"
@@ -21,8 +21,8 @@ fqdn="$2"
# 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"
+echo 'iptables-persistent iptables-persistent/autosave_v4 boolean false' | debconf-set-selections
+echo 'iptables-persistent iptables-persistent/autosave_v6 boolean false' | debconf-set-selections
# Ensure package installation state as defined by what packages are
# defined as required by Debian policy and by settings in ./apt-mark/.