File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 116116
117117echo " [+] Extracting runner..."
118118tar xzf runner.tar.gz
119-
119+ echo " [+] Setting permissions... ` pwd` "
120+ chown -R $RUNAS_USER :$RUNAS_GROUP .
120121# --- GET REGISTRATION TOKEN ---
121122echo " [+] Requesting registration token..."
122123REG_TOKEN=$( curl -s -X POST \
@@ -135,6 +136,7 @@ sudo -u $RUNAS_USER ./config.sh \
135136
136137# --- SETUP SYSTEMD SERVICE ---
137138echo " [+] Installing systemd service..."
139+ export SUDO_USER=$RUNAS_USER
138140sudo ./svc.sh install
139141sudo ./svc.sh start
140142
Original file line number Diff line number Diff line change 105105 sudo -u $USER_NAME ssh-keygen -t ed25519 -f /home/$USER_NAME /.ssh/id_ed25519 -N " " -C " ${USER_NAME} @$( hostname) "
106106 fi
107107fi
108- log " ⚙️ $USER_NAME SSH key pair public key (add on worker nodes if needed):"
108+ log "
109+ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ Store the following public key for later usage ⚠️ ⚠️ ⚠️ ⚠️ ⚠️
110+ ⚙️ $USER_NAME SSH key pair public key (add on worker nodes if needed):
111+ "
109112sudo cat /home/$USER_NAME /.ssh/id_ed25519.pub
You can’t perform that action at this time.
0 commit comments