Fix lvs not showing path for thin pools
This commit is contained in:
parent
b3a287d9e0
commit
e43588fcdb
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue