Skip to content

Commit

Permalink
Remove atuin, update CLI install
Browse files Browse the repository at this point in the history
  • Loading branch information
jlian authored Nov 27, 2023
1 parent 0863f72 commit 4d5d66e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"extensions": "connectedk8s,k8s-extension"
"extensions": "connectedk8s,k8s-extension,azure-iot-ops"
},
"ghcr.io/rio/features/k3d:1": {}
},
Expand Down
10 changes: 0 additions & 10 deletions .devcontainer/postCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ set -o pipefail

echo "Starting Post Create Command"

# Install Autin
wget -q https://raw.githubusercontent.com/ellie/atuin/main/install.sh -O - | /bin/bash && \
curl https://raw.githubusercontent.com/rcaloras/bash-preexec/master/bash-preexec.sh -o ~/.bash-preexec.sh && \
echo '[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh' >> ~/.bashrc && \
echo 'eval "$(atuin init bash)"' >> ~/.bashrc

# Install az iot ops extension
# TODO: change to use official extension management method once released
az extension add --source $(curl -w "%{url_effective}\n" -I -L -s -S https://aka.ms/aziotopscli-latest -o /dev/null) -y

# This env var is important to allow k3s to support shared mounts, required for CSI driver
# Temporary fix until made default https://github.com/k3d-io/k3d/pull/1268#issuecomment-1745466499
export K3D_FIX_MOUNTS=1
Expand Down

0 comments on commit 4d5d66e

Please sign in to comment.