Add C compiler tools

This commit is contained in:
Alex Garibay 2018-11-01 12:08:47 -05:00
parent ea669acf7b
commit 73e31d79b1
1 changed files with 4 additions and 1 deletions

View File

@ -67,7 +67,10 @@ if ! which node >/dev/null; then
log "Installing nodejs.."
yum --enablerepo=epel install -y nodejs >"$LOG"
fi
if ! which gcc >/dev/null; then
log "Installing C compiling tools.."
yum --enablerepo=epel group install -y "Development Tools" >"$LOG"
fi
log "Determining region this instance is in.."
REGION="$(curl -s $DYNDATA_URL/instance-identity/document | jq -r '.region')"