#!/bin/sh
set -e
-debian_version="bookworm"
. ./misc.sh
expect_n_args 2 "(hostname, FQDN)" "$@"
adduser --disabled-password --gecos "" plom
usermod -a -G sudo plom
passwd plom
-cp setup_home.sh /home/plom
-cp misc.sh /home/plom
-chown plom:plom /home/plom/*.sh
+cp -a ~/config /home/plom
+chown -R plom:plom /home/plom/config
#!/bin/sh
set -e
-debian_version="bookworm"
-. ./misc.sh
+set -x
expect_n_args 1 "(system name)" "$@"
get_system_name_arg "$1"
-git clone https://plomlompom.com/repos/clone/config
cd $setup_scripts_dir
./copy_dirtree.sh "${config_tree_prefix}/home_files" "${HOME}" minimal user "${system_name}"