From 70dfb95e9ccbb2cb19f85802dde0955a180af84a Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 8 Apr 2020 14:37:04 +0200 Subject: [PATCH] nesting buster containers --- utils.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utils.sh b/utils.sh index 459ea62..32f9ed2 100755 --- a/utils.sh +++ b/utils.sh @@ -84,6 +84,11 @@ rebuild_base_containers() wait_container "$base_image_to_rebuild-tmp" + if [[ "$debian_version" == "buster" ]] + then + lxc config set "$base_image_to_rebuild-tmp" security.nesting true # Need this for buster because it is using apparmor + fi + lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "apt-get update" lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "apt-get install curl -y" # Install Git LFS, git comes pre installed with ubuntu image.