From 4c3034fda1dae6cdb6e6053ae64dd06c44c64785 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 24 Apr 2020 22:39:29 +0200 Subject: [PATCH] Fix. --- buster/setup_scripts/setup_dumpsite.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buster/setup_scripts/setup_dumpsite.sh b/buster/setup_scripts/setup_dumpsite.sh index 1fb3ccc..000045b 100755 --- a/buster/setup_scripts/setup_dumpsite.sh +++ b/buster/setup_scripts/setup_dumpsite.sh @@ -1,9 +1,8 @@ #!/bin/sh set -e -set -x if [ "$#" -ne 3 ]; then - echo 'Need domain name and mail and old server.' + echo 'Need domain name (choose wisely!) and mail and old server.' false fi domain="$1" @@ -12,6 +11,7 @@ old_server="$3" # Install configs, set up firewall. echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections +# TODO: do we really want hostname as mailname? echo "postfix postfix/mailname string $(hostname -f)" | debconf-set-selections config_tree_prefix="${HOME}/config/buster" ./install_for_target.sh web dumpsite -- 2.30.2