From 03cdffca88e902e9451935c45a23d5ff12b62ad2 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 13 Feb 2023 20:51:33 +0100 Subject: [PATCH] Aaannd typo --- lib/lxc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lxc.sh b/lib/lxc.sh index 3d706f3..6bdb497 100644 --- a/lib/lxc.sh +++ b/lib/lxc.sh @@ -10,7 +10,7 @@ LXC_CREATE () { if lxc remote list | grep -q "yunohost" && lxc image list yunohost:$LXC_BASE | grep -q -w $LXC_BASE; then # Force the usage of the fingerprint because otherwise for some reason lxd won't use the newer version # available even though it's aware it exists -_- - LXC_BASE_HASH="$(lxc image list $LXC_BASE --format json | jq -r '.[].fingerprint')" + LXC_BASE_HASH="$(lxc image list yunohost:$LXC_BASE --format json | jq -r '.[].fingerprint')" lxc launch yunohost:$LXC_BASE_HASH $LXC_NAME \ -c security.nesting=true \ -c security.privileged=true \