Skip to content
This repository has been archived by the owner on Jun 12, 2021. It is now read-only.

install curl (may not be present in minimal server editions) #142

Merged
merged 2 commits into from
Oct 11, 2019

Conversation

lestephane
Copy link

@lestephane lestephane commented Oct 8, 2019

fixes an error I encountered while using the ubuntu minimal server edition:

/tmp/tf-ansible-installer: 24: /tmp/tf-ansible-installer: curl: not found
/tmp/tf-ansible-installer: 27: /tmp/tf-ansible-installer: pip: not found

More generally, consider using set -euo pipefail, otherwise the script does not
stop as you see here in line 24 because the error is 'swallowed' by the use of a pipe.

Le Stephane and others added 2 commits October 8, 2019 17:34
@radekg
Copy link
Owner

radekg commented Oct 11, 2019

Hi @lestephane, thank you for the PR. I've added set -euo pipefail as suggested.

@radekg radekg merged commit ab85423 into radekg:master Oct 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants