Skip to content

Commit 87c2a6f

Browse files
splattaelsolidnerd
authored andcommitted
Determine OS dynamically
1 parent e3ed7ef commit 87c2a6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install-plugin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
set -eu
3-
OS=${OS:-darwin}
3+
OS=${OS:-$(uname -s)}
44
HCLOUD_VERSION=${HCLOUD_VERSION:-1.1.0}
55
HCLOUD_TERRAFORM_URL=${HCLOUD_TERRAFORM_URL:-"https://github.com/hetznercloud/terraform-provider-hcloud/releases/download/v${HCLOUD_VERSION}/terraform-provider-hcloud_v${HCLOUD_VERSION}_${OS}_amd64.zip"}
66
echo "Install Terraform plugin from:"

0 commit comments

Comments
 (0)