diff --git a/setup.sh b/setup.sh old mode 100644 new mode 100755 index 4377019..3127a2e --- a/setup.sh +++ b/setup.sh @@ -55,8 +55,10 @@ sudo -H -u $user $sync_directory_path/conf-sync/install.sh # set use case config echo "Getting and deploying use-case $use_case configuration" -sudo -H -u $user git clone https://gitea.kto.black/adminconf/$use_case.git $sync_directory_path/$use_case -# TODO how to start install? We need to define variables +if [[ $use_case != 'ssh-bounce-server' ]]; then + sudo -H -u $user git clone https://gitea.kto.black/adminconf/$use_case.git $sync_directory_path/$use_case + # TODO how to start install? We need to define variables +fi # SSH config echo "Getting SSH public key" @@ -77,7 +79,9 @@ echo "" echo "We're all good here!" echo "You should now:" echo "* lock root account" -echo "* copy your SSH config file" +if [[ $use_case = 'ssh-bounce-server' ]]; then + echo "* clone remote-stuff" +fi echo "* reboot the SBC" echo "And perhaps:" echo "* set a new password for $user"