3 # vim: sw=4 ts=4 sts=4 et :
6 # make sure we're fully updated
7 echo "---> Updating OS"
11 # install docker and enable it
12 echo "---> Installing docker"
13 yum install -y docker supervisor bridge-utils
14 systemctl enable docker
16 # configure docker networking so that it does not conflict with LF
18 cat <<EOL > /etc/sysconfig/docker-network
19 # /etc/sysconfig/docker-network
20 DOCKER_NETWORK_OPTIONS='--bip=10.250.0.254/24'
23 # docker group doesn't get created by default for some reason
28 # make sure we're fully updated
29 echo "---> Updating OS"
31 apt-get upgrade -y -qq
34 OS=`/usr/bin/facter operatingsystem`
43 echo "${OS} has no configuration changes"
47 echo "***************************************************"
48 echo "* PLEASE RELOAD THIS VAGRANT BOX BEFORE USE *"
49 echo "***************************************************"