Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: update lima example to use --with-terraform arg #5655

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 10, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! chore: update lima example to use --with-terraform arg
  • Loading branch information
johnstcn committed Jan 10, 2023
commit 71abb3599820d1dc190b177df89f9821220f4ae5
12 changes: 1 addition & 11 deletions examples/lima/coder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ provision:
command -v coder >/dev/null 2>&1 && exit 0
export DEBIAN_FRONTEND=noninteractive
export HOME=/root
# Install some dependencies
# Using install.sh --with-terraform requires unzip to be available.
apt-get install -qqy unzip
curl -fsSL https://coder.com/install.sh | sh -s -- --with-terraform
# Ensure Coder has permissions on /var/run/docker.socket
Expand Down Expand Up @@ -126,16 +126,6 @@ probes:
fi
hint: |
See "/var/log/cloud-init-output.log" in the guest.
- description: "terraform to be installed"
script: |
#!/bin/bash
set -eux -o pipefail
if ! timeout 30s bash -c "until command -v terraform >/dev/null 2>&1; do sleep 3; done"; then
echo >&2 "terraform is not installed yet"
exit 1
fi
hint: |
See "/var/log/cloud-init-output.log" in the guest.
message: |
All Done! Your Coder instance is accessible at http://localhost:3000

Expand Down