Browse Source

Merge "typo: Fix in docker storage configuration"

changes/35/382235/3
Jenkins 5 years ago
committed by Gerrit Code Review
parent
commit
f002e5df94
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      magnum/drivers/common/templates/fragments/configure_docker_storage_driver_atomic.sh

+ 3
- 3
magnum/drivers/common/templates/fragments/configure_docker_storage_driver_atomic.sh View File

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


Loading…
Cancel
Save