Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit

Permalink
Make symlink for home directory for vscode session reuse
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddelkoop committed Dec 2, 2021
1 parent 57ed6c7 commit c61a43a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/aws-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ done
echo "+++ configuring VM"

ssh ec2-user@$IP -A <<EOF
sudo ln -s /home/ec2-user /home/$NAME
sudo yum install -y git python3-pip python3-venv bash-completion
ssh-keyscan ${GITHUB} > .ssh/known_hosts
git config --global color.ui auto
Expand All @@ -74,4 +75,4 @@ echo "+++ starting Jypter"
ssh ec2-user@$IP -t -L 8080:localhost:8080 -L 8081:localhost:8081 "cd $PROJECT ; ./scripts/jupyter-lab.sh"

echo "+++ ssh command"
echo "ssh ec2-user@$IP"
echo "ssh ec2-user@$IP"

0 comments on commit c61a43a

Please sign in to comment.