debian_version="bookworm"
. ./misc.sh
-# Provide maximum input for set_hostname_and_fqdn.sh.
-if [ "$#" -lt 2 ]; then
- echo 'Need at least two arguments (hostname, FQDN).'
- false
-fi
+expect_n_args 2 "(hostname, FQDN)" "$@"
hostname="$1"
fqdn="$2"
shift 2