How to use this box with Vagrant:
Vagrant.configure("2") do |config|
config.vm.box = "zeitonline/bionic64-lxc"
config.vm.box_version = "1.2.0"
end
vagrant init zeitonline/bionic64-lxc \
--box-version 1.2.0
vagrant up
This version was created over 1 year ago.
No code changes. Rebuilds the box with a current debootstrap run and apt package versions, this e.g. removes the expired letsencrypt "DST X3" certificate from the trust store.
Note that I had to apply this patch before running make bionic
, otherwise the build got stuck at an apt confirmation prompt:
--- /usr/share/lxc/templates/lxc-ubuntu~ 2021-10-06 10:51:31.710185270 +0000
+++ /usr/share/lxc/templates/lxc-ubuntu 2021-10-06 10:51:23.289977575 +0000
@@ -428,6 +428,7 @@
(
cat << EOF
mount -t proc proc "${1}/partial-${arch}/proc"
+ export DEBIAN_FRONTEND=noninteractive
chroot "${1}/partial-${arch}" apt-get dist-upgrade -y
EOF
) | lxc-unshare -s MOUNT -- sh -eu || (suggest_flush; false)