2 # Next setup steps for a server whose login policy has just been set from
3 # the outside via ./init_user_and_keybased_login.sh.
6 # Provide maximum input for set_hostname_and_fqdn.sh.
7 if [ "$#" -ne 2 ]; then
8 echo 'Need exactly two arguments (hostname, FQDN).'
14 # Set up system without user environment.
15 config_tree_prefix="${HOME}/config/buster"
16 setup_scripts_dir="${config_tree_prefix}/setup_scripts"
17 cd "${setup_scripts_dir}"
18 ./setup.sh "${hostname}" "${fqdn}" server
20 # If we have not yet set the shell for user plom, ensure it here. This
21 # is mostly for convenience.
22 usermod -s /bin/bash plom
25 systemctl enable nftables.service