From 46b213c62503ec2723307f0406a84ba76768fd1a Mon Sep 17 00:00:00 2001 From: Dan Bungert Date: Mon, 15 Jul 2024 11:34:34 -0600 Subject: [PATCH] test-in-lxd: set security.nesting=true (cherry picked from commit 7db45712d61fc20ac081f608b56f730c12c6b0bf) --- scripts/test-in-lxd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/test-in-lxd.sh b/scripts/test-in-lxd.sh index df5f665c8..7c82d9571 100755 --- a/scripts/test-in-lxd.sh +++ b/scripts/test-in-lxd.sh @@ -8,7 +8,8 @@ lxd init --auto if [ -z "$(lxc list -f csv -c n ^${TESTER}\$)" ] then - lxc launch $IMAGE $TESTER + # using security.nesting=true for LP: #2046486 + lxc launch $IMAGE $TESTER -c security.nesting=true lxc config device add $TESTER code disk source=`pwd` path=/subiquity else lxc start $TESTER