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 dnf 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"
35 # make sure we're fully updated
36 echo "---> Updating OS"
38 apt-get upgrade -y -qq
41 OS=`/usr/bin/facter operatingsystem`
53 echo "${OS} has no configuration changes"
57 echo "***************************************************"
58 echo "* PLEASE RELOAD THIS VAGRANT BOX BEFORE USE *"
59 echo "***************************************************"