nesting buster containers

This commit is contained in:
Kay0u 2020-04-08 14:37:04 +02:00
parent f3dbe54df9
commit 70dfb95e9c
No known key found for this signature in database
GPG key ID: AE1DCADB6415A156

View file

@ -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.