Sha256: b1542e09dbd63e1d533f8fed2f7bfe94c131a5eeed9f0782ca5c2ab92c3a2742
Contents?: true
Size: 1.22 KB
Versions: 1
Compression:
Stored size: 1.22 KB
Contents
#!/bin/bash #------------------------------------------------------------------------------- if [ ! -f /.dockerinit ] then # Set hostname echo "1. Setting hostname" echo "$HOSTNAME" > "/etc/hostname" || exit 1 echo "2. Initializing hosts file" sed -ri 's/127\.0\.1\.1.*//' /etc/hosts echo "127.0.1.1 $HOSTNAME" >> /etc/hosts || exit 2 fi # Set OpenDNS as our DNS lookup source echo "3. Setting command DNS gateways" echo "nameserver 208.67.222.222" | tee /etc/resolvconf/resolv.conf.d/base > /dev/null || exit 3 resolvconf -u || exit 4 # Force time update (for systems without a hardware clock / Raspberry Pi) echo "4. Forcing system time update" ntpdate -s time.nist.gov # Update system packages echo "5. Updating system packages" apt-get update >/tmp/update.log 2>&1 || exit 5 # Install basic build packages. echo "6. Ensuring basic libraries and development utilities" apt-get -y install build-essential cmake rake bindfs libnl-dev libpopt-dev \ libssl-dev libcurl4-openssl-dev libxslt-dev libxml2-dev \ libyaml-dev libreadline-dev libncurses5-dev zlib1g-dev texinfo \ llvm llvm-dev python-software-properties unzip curl bison >/tmp/base.install.log 2>&1 || exit 6
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
corl-0.5.18 | bootstrap/os/ubuntu/00_base.sh |