Lines Matching refs:cache
149 options=$(getopt -o a:hp:r:n:Fi:CLS:T:ds:u: -l arch:,help,rootfs:,path:,release:,name:,flush-cache,hostid:,auth-key:,cloud,no_locales,tarball:,debug,stream:,userdata:,vendordata:,mapped-uid:,mapped-gid: -- "$@")
206 -F|--flush-cache) flushcache=1; shift 1;;
278 # Allow the cache base to be set by environment variable
279 cache=${LXC_CACHE_PATH:-"$STATE_DIR/cache/lxc"}/cloud-$release
281 STATE_DIR="$HOME/.cache/lxc"
282 cache=${LXC_CACHE_PATH:-"$STATE_DIR"}/cloud-$release
285 mkdir -p $cache
316 cd $cache
335 unsquashfs -n -f -d "$rootfs" "$cache/$filename"
338 tar --anchored --exclude="dev/*" --numeric-owner -xpf "$cache/$filename"
341 tar --numeric-owner -xpf "$cache/$filename"
363 chown -R $mapped_uid $cache
368 chgrp -R $mapped_gid $cache