From a63e8cb064f3c17b4c00c11721a555a5b4bf6b75 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 4 Apr 2025 23:59:47 +0200 Subject: [PATCH] Fix. --- bookworm/scripts/lib/constants_ssh | 3 +++ testing/scripts/init_server_access.sh | 2 ++ testing/scripts/lib/constants_ssh | 4 +--- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 bookworm/scripts/lib/constants_ssh mode change 100644 => 120000 testing/scripts/lib/constants_ssh diff --git a/bookworm/scripts/lib/constants_ssh b/bookworm/scripts/lib/constants_ssh new file mode 100644 index 0000000..43e6ee5 --- /dev/null +++ b/bookworm/scripts/lib/constants_ssh @@ -0,0 +1,3 @@ +. lib/constants_user +PATH_REL_SSH=.ssh +PATH_USER_SSH="${PATH_USER_HOME}/${PATH_REL_SSH}" diff --git a/testing/scripts/init_server_access.sh b/testing/scripts/init_server_access.sh index 385b3b3..22cee96 100755 --- a/testing/scripts/init_server_access.sh +++ b/testing/scripts/init_server_access.sh @@ -22,3 +22,5 @@ stty echo echo '\nSetting up config repo.' ssh "root@${SERVER}" 'apt update && apt install -y git && git clone https://plomlompom.com/repos/clone/config' + +echo "\nServer ready, log in with: ssh root@${SERVER}" diff --git a/testing/scripts/lib/constants_ssh b/testing/scripts/lib/constants_ssh deleted file mode 100644 index 43e6ee5..0000000 --- a/testing/scripts/lib/constants_ssh +++ /dev/null @@ -1,3 +0,0 @@ -. lib/constants_user -PATH_REL_SSH=.ssh -PATH_USER_SSH="${PATH_USER_HOME}/${PATH_REL_SSH}" diff --git a/testing/scripts/lib/constants_ssh b/testing/scripts/lib/constants_ssh new file mode 120000 index 0000000..b711025 --- /dev/null +++ b/testing/scripts/lib/constants_ssh @@ -0,0 +1 @@ +../../../bookworm/scripts/lib/constants_ssh \ No newline at end of file -- 2.30.2