Skip to content

Commit

Permalink
Merge pull request getodk#487 from yanokwa/fix-cloud-config
Browse files Browse the repository at this point in the history
Instruct curl to follow redirects
  • Loading branch information
lognaturel committed Apr 22, 2020
2 parents f79b900 + b17c73b commit 39619ac
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cloud-config/aws/cloud-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ write_files:
permissions: '0755'
content: |
#!/bin/sh
curl -sS https://api.github.com/repos/opendatakit/aggregate-cli/releases/latest \
curl -sSL https://api.github.com/repos/opendatakit/aggregate-cli/releases/latest \
| grep "aggregate-cli.zip" \
| cut -d: -f 2,3 \
| tr -d \" \
Expand Down
2 changes: 1 addition & 1 deletion cloud-config/azure/cloud-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ write_files:
permissions: '0755'
content: |
#!/bin/sh
curl -sS https://api.github.com/repos/opendatakit/aggregate-cli/releases/latest \
curl -sSL https://api.github.com/repos/opendatakit/aggregate-cli/releases/latest \
| grep "aggregate-cli.zip" \
| cut -d: -f 2,3 \
| tr -d \" \
Expand Down
2 changes: 1 addition & 1 deletion cloud-config/digital-ocean/cloud-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ write_files:
permissions: '0755'
content: |
#!/bin/sh
curl -sS https://api.github.com/repos/opendatakit/aggregate-cli/releases/latest \
curl -sSL https://api.github.com/repos/opendatakit/aggregate-cli/releases/latest \
| grep "aggregate-cli.zip" \
| cut -d: -f 2,3 \
| tr -d \" \
Expand Down
2 changes: 1 addition & 1 deletion cloud-config/google-cloud/startup-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ curl -H"Metadata-Flavor: Google" http://metadata.google.internal/computeMetadata
sed -i -e 's/foo\.bar/'"$(cat /tmp/domain-name)"'/' /root/aggregate-config.json
sed -i -e 's/foo\.bar/'"$(cat /tmp/domain-name)"'/' /etc/nginx/sites-enabled/aggregate

curl -sS https://api.github.com/repos/opendatakit/aggregate-cli/releases/latest \
curl -sSL https://api.github.com/repos/opendatakit/aggregate-cli/releases/latest \
| grep "aggregate-cli.zip" \
| cut -d: -f 2,3 \
| tr -d \" \
Expand Down
2 changes: 1 addition & 1 deletion cloud-config/virtualbox/cloud-config.tpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ write_files:
permissions: '0755'
content: |
#!/bin/sh
curl -sS https://api.github.com/repos/opendatakit/aggregate-cli/releases/latest \
curl -sSL https://api.github.com/repos/opendatakit/aggregate-cli/releases/latest \
| grep "aggregate-cli.zip" \
| cut -d: -f 2,3 \
| tr -d \" \
Expand Down

0 comments on commit 39619ac

Please sign in to comment.