Sha256: 51a43222d0f3b98d071d1e7c03a428785157b2cdf5712fc26fe4a8c2a77fa996

Contents?: true

Size: 513 Bytes

Versions: 14

Compression:

Stored size: 513 Bytes

Contents

#!/bin/bash
#-------------------------------------------------------------------------------

# Install Git.
echo "1. Ensuring Git"
apt-get -y install git >/tmp/git.install.log 2>&1 || exit 10

# Make sure it is easy to communicate with repo hosts
echo "2. Adding GitHub to root known hosts"

mkdir -p "/root/.ssh" || exit 11
touch "/root/.ssh/known_hosts" || exit 12

ssh-keygen -R github.com >/dev/null 2>&1 || exit 13 # No duplicates
ssh-keyscan -H github.com >> "/root/.ssh/known_hosts" 2>/dev/null || exit 14

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
corl-0.5.16 bootstrap/os/ubuntu/01_git.sh
corl-0.5.15 bootstrap/os/ubuntu/01_git.sh
corl-0.5.14 bootstrap/os/ubuntu/01_git.sh
corl-0.5.13 bootstrap/os/ubuntu/01_git.sh
corl-0.5.12 bootstrap/os/ubuntu/01_git.sh
corl-0.5.11 bootstrap/os/ubuntu/01_git.sh
corl-0.5.10 bootstrap/os/ubuntu/01_git.sh
corl-0.5.9 bootstrap/os/ubuntu/01_git.sh
corl-0.5.8 bootstrap/os/ubuntu/01_git.sh
corl-0.5.7 bootstrap/os/ubuntu/01_git.sh
corl-0.5.6 bootstrap/os/ubuntu/01_git.sh
corl-0.5.5 bootstrap/os/ubuntu/01_git.sh
corl-0.5.4 bootstrap/os/ubuntu/01_git.sh
corl-0.5.3 bootstrap/os/ubuntu/01_git.sh