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
Merged
Changes from all commits
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
6 changes: 3 additions & 3 deletions mode/mode_remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const installerProgramTemplate = `#!/bin/sh
if [ -n "${TAF_DOCKER_CENTOS_LATEST_RUN}" ]; then
yum update -y && yum install -y which
fi
set -eu
set -euo pipefail
if [ -z "$(which ansible-playbook)" ]; then
# only check the cloud boot finished if the directory exists
if [ -d /var/lib/cloud/instance ]; then
Expand All @@ -41,10 +41,10 @@ if [ -z "$(which ansible-playbook)" ]; then
if [ -f /etc/redhat-release ]; then
yum update -y \
&& yum groupinstall -y "Development Tools" \
&& yum install -y python-devel
&& yum install -y python-devel curl
else
apt-get update \
&& apt-get install -y build-essential python-dev
&& apt-get install -y build-essential python-dev curl
fi
# install pip, if necessary
if [ -z "$(which pip)" ]; then
Expand Down