diff --git a/cluster/libvirt-coreos/util.sh b/cluster/libvirt-coreos/util.sh index c4feeddd0f1..fa6a4bc7312 100644 --- a/cluster/libvirt-coreos/util.sh +++ b/cluster/libvirt-coreos/util.sh @@ -29,6 +29,8 @@ export ADMISSION_CONTROL=${ADMISSION_CONTROL:-NamespaceLifecycle,LimitRanger,Ser readonly POOL=kubernetes readonly POOL_PATH=/var/lib/libvirt/images/kubernetes +[ ! -d "${POOL_PATH}" ] && (echo "$POOL_PATH" does not exist ; exit 1 ) + # join # Concatenates the list elements with the delimiter passed as first parameter #