Fix lvs not showing path for thin pools

This commit is contained in:
jalr 2018-05-13 01:46:25 +02:00
parent b3a287d9e0
commit e43588fcdb

View file

@ -31,7 +31,7 @@ EOF
lvs -o+seg_monitor
fi
lv_path=$(lvm lvs "$vg/docker-thinpool" -o LV_PATH --noheadings | sed 's/\s//g')
lv_path="${vg}-docker--thinpool"
if ! [ -d /etc/docker ]; then
mkdir /etc/docker