File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -162,5 +162,6 @@ function _install_noVNC_linux() {
162162 echo " Got latest noVNC release tag: $novnc_tag "
163163
164164 curl -sSL " https://api.github.com/repos/novnc/noVNC/tarball/$novnc_tag " -o " /tmp/noVNC.tgz"
165- tar xzf /tmp/noVNC.tgz --transform ' s/^novnc-noVNC-[0-9a-f]\+/noVNC/'
165+ mkdir -p /tmp/noVNC
166+ tar xzf /tmp/noVNC.tgz -C /tmp/noVNC --strip-components=1
166167}
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ pip uninstall -y -q awscli
1717pip install -q sagemaker-ssh-helper
1818
1919# Uncomment two lines below to update SageMaker SSH Helper to the latest dev version from main branch
20- # git clone https://github.com/aws-samples/sagemaker-ssh-helper.git
21- # cd sagemaker-ssh-helper && pip install . && cd ..
20+ # git clone https://github.com/aws-samples/sagemaker-ssh-helper.git /tmp/sagemaker-ssh-helper/
21+ # cd /tmp/ sagemaker-ssh-helper/ && pip install . && cd ..
2222
2323ps xfaeww
2424
@@ -31,5 +31,5 @@ sm-local-configure
3131
3232_install_noVNC_linux
3333
34- cd noVNC
34+ cd /tmp/ noVNC
3535nohup ./utils/novnc_proxy --vnc 127.0.0.1:5901 &
You can’t perform that action at this time.
0 commit comments