Added docker_registry to centos and fixed service restart/enable

This commit is contained in:
dlee35
2018-12-05 08:05:08 -05:00
parent 0f0adb6c4b
commit 705b242042

View File

@@ -334,6 +334,10 @@ docker_install() {
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum -y update
yum -y install docker-ce docker-python python-docker
docker_registry
echo "Restarting Docker"
systemctl restart docker
systemctl enable docker
else
if [ $INSTALLTYPE == 'MASTERONLY' ] || [ $INSTALLTYPE == 'EVALMODE' ]; then