diff --git a/docs/getting-started.md b/docs/getting-started.md index 46d9ec1da..370767305 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -167,6 +167,10 @@ set -ex DIR=/var/lib/firecracker-containerd/snapshotter/devmapper POOL=fc-dev-thinpool + +if [[ ! -d "${DIR}" ]]; then +mkdir -p "${DIR}" +fi if [[ ! -f "${DIR}/data" ]]; then touch "${DIR}/data"