10e9132bb8
This is a patch to build a centos image to support installing DC/OS as a magnum coe. Two elements are included: dcos and docker, only used to build a centos image. 1. Element docker will install and configure docker in centos. 2. Element dcos will download dcos_generate_config.sh and do some configurations for DC/OS. Design spec in contrib/drivers/dcos_centos_v1/image/README.md. Partially-Implements: blueprint mesos-dcos Change-Id: I30fa4c102205aa2475b9491398c06da0d1e86f84
13 lines
292 B
Bash
Executable File
13 lines
292 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
# CentOS-7 introduced firewalld, which is a wrapper around iptables
|
|
# and can conflict with Docker.
|
|
# See https://docs.docker.com/v1.6/installation/centos/#firewalld
|
|
sudo systemctl disable firewalld
|