Sha256: 8c36e5f0ce67a38338644f197209a60efef54e13d7b24fed993813c61aa41d42
Contents?: true
Size: 516 Bytes
Versions: 5
Compression:
Stored size: 516 Bytes
Contents
#!/bin/bash #------------------------------------------------------------------------------- # Set hostname echo "$HOSTNAME" > "/etc/hostname" || exit 1 sed -ri 's/127\.0\.1\.1.*//' /etc/hosts echo "127.0.1.1 $HOSTNAME" >> /etc/hosts || exit 2 # Set OpenDNS as our DNS lookup source echo "nameserver 208.67.222.222" | tee /etc/resolvconf/resolv.conf.d/base > /dev/null || exit 3 # Update system packages apt-get update || exit 4 # Install basic build packages. apt-get -y install build-essential curl || exit 5
Version data entries
5 entries across 5 versions & 1 rubygems