typo: Fix in docker storage configuration

s/congiguration/configuration

Change-Id: Icff3210f24c3328e749e23d7d3dde03604723fd2
This commit is contained in:
Spyros Trigazis 2016-11-09 14:52:48 +01:00
parent fad39cf881
commit 524214c913
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
# Remove any existing docker-storage configuration. In case of an # Remove any existing docker-storage configuration. In case of an
# existing configuration, docker-storage-setup will fail. # existing configuration, docker-storage-setup will fail.
clear_docker_storage_congiguration () { clear_docker_storage_configuration () {
if [ -f /etc/sysconfig/docker-storage ]; then if [ -f /etc/sysconfig/docker-storage ]; then
sed -i "/^DOCKER_STORAGE_OPTIONS=/ s/=.*/=/" /etc/sysconfig/docker-storage sed -i "/^DOCKER_STORAGE_OPTIONS=/ s/=.*/=/" /etc/sysconfig/docker-storage
fi fi
@ -11,7 +11,7 @@ clear_docker_storage_congiguration () {
# Configure docker storage with xfs as backing filesystem. # Configure docker storage with xfs as backing filesystem.
configure_overlay () { configure_overlay () {
clear_docker_storage_congiguration clear_docker_storage_configuration
rm -rf /var/lib/docker/* rm -rf /var/lib/docker/*
@ -29,7 +29,7 @@ configure_overlay () {
# Configure docker storage with devicemapper using direct LVM # Configure docker storage with devicemapper using direct LVM
configure_devicemapper () { configure_devicemapper () {
clear_docker_storage_congiguration clear_docker_storage_configuration
pvcreate -f ${device_path} pvcreate -f ${device_path}
vgcreate docker ${device_path} vgcreate docker ${device_path}