@@ -23,6 +23,8 @@ if [[ "$1" == "configure" ]]; then
23
23
exit 0
24
24
fi
25
25
26
+ echo " sm-ssh-ide: Configuring services..."
27
+
26
28
OPTIONS=$2
27
29
mkdir -p /opt/sagemaker-ssh-helper/
28
30
echo " $OPTIONS " > /opt/sagemaker-ssh-helper/.sm-ssh-ide-options
75
77
76
78
touch /opt/sagemaker-ssh-helper/.ssh-ide-configured
77
79
78
- echo " sm-ssh-ide: Configuration complete. "
80
+ echo " sm-ssh-ide: Finished configuration. Done "
79
81
80
82
elif [[ " $1 " == " get-user-profile-name" ]]; then
81
83
_assert_is_ssh_ide_inside_studio
@@ -156,6 +158,8 @@ elif [[ "$1" == "set-local-user-id" ]]; then
156
158
fi
157
159
158
160
elif [[ " $1 " == " init-ssm" ]]; then
161
+ echo " sm-ssh-ide: Initializing SSM..."
162
+
159
163
LOCAL_USER_ID=" $( cat ~ /.sm-ssh-owner) "
160
164
echo " sm-ssh-ide: Will use local user ID: $LOCAL_USER_ID "
161
165
@@ -190,7 +194,11 @@ elif [[ "$1" == "init-ssm" ]]; then
190
194
191
195
sm-init-ssm
192
196
197
+ echo " sm-ssh-ide: SSM initialized. Done"
198
+
193
199
elif [[ " $1 " == " start" ]]; then
200
+ echo " sm-ssh-ide: Starting services..."
201
+
194
202
OPTIONS=$( cat /opt/sagemaker-ssh-helper/.sm-ssh-ide-options || echo " " )
195
203
196
204
if [[ -f /tmp/.ssh-ide-local-lock ]]; then
@@ -247,7 +255,7 @@ elif [[ "$1" == "start" ]]; then
247
255
echo " sm-ssh-ide: Skipping VNC and Jupyter start"
248
256
fi
249
257
250
- echo " sm-ssh-ide: Started all services"
258
+ echo " sm-ssh-ide: Started all services. Done "
251
259
252
260
elif [[ " $1 " == " ssm-agent" ]]; then
253
261
@@ -291,6 +299,8 @@ elif [[ "$1" == "env-diagnostics" ]]; then
291
299
find " $JUPYTER_PATH " -name ' kernel.json' -print0 | xargs -0 cat
292
300
293
301
elif [[ " $1 " == " stop" ]]; then
302
+ echo " sm-ssh-ide: Stopping services..."
303
+
294
304
OPTIONS=$( cat /opt/sagemaker-ssh-helper/.sm-ssh-ide-options || echo " " )
295
305
296
306
echo " sm-ssh-ide: Stopping SSM agent"
@@ -341,7 +351,7 @@ elif [[ "$1" == "stop" ]]; then
341
351
echo " sm-ssh-ide: Local lock is missing, was not not running on this instance?"
342
352
fi
343
353
344
- echo " sm-ssh-ide: Stopped all services"
354
+ echo " sm-ssh-ide: Stopped all services. Done "
345
355
346
356
else
347
357
0 commit comments