mirror of
git://github.com/lxc/lxc
synced 2025-08-29 23:29:52 +00:00
lxc-ubuntu-cloud: Fix cache and lock location
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
3fefd6e6d5
commit
9cde0368fb
@ -283,8 +283,10 @@ type wget
|
||||
# determine the url, tarball, and directory names
|
||||
# download if needed
|
||||
cache="$STATE_DIR/cache/lxc/cloud-$release"
|
||||
STATE_DIR="$HOME/.cache/lxc/"
|
||||
cache="$HOME/.cache/lxc/cloud-$release"
|
||||
if [ $in_userns -eq 1 ]; then
|
||||
STATE_DIR="$HOME/.cache/lxc/"
|
||||
cache="$HOME/.cache/lxc/cloud-$release"
|
||||
fi
|
||||
|
||||
mkdir -p $cache
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user