From 0647bc0b7aee7d2a6bb84f748316e12683373ba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 14 Jun 2022 14:30:00 +0200 Subject: tis 14 jun 2022 14:30:00 CEST --- nspawn.wiki | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'nspawn.wiki') diff --git a/nspawn.wiki b/nspawn.wiki index 9a9994c..2850562 100644 --- a/nspawn.wiki +++ b/nspawn.wiki @@ -1,8 +1,25 @@ +== Debian == + +=== Create new debian container === + {{{ debootstrap bullseye /var/lib/machines/debian-bullseye.base +}}} + +https://puppet.com/docs/puppet/7/install_puppet.html#install_puppet + +== Copy existing container == + +{{{ systemctl-nspawn --template=EXISTING_OS_TREE -D /var/lib/machines/NEW_MACHINE }}} +== Setting up container == + +== Food for thought == + overlayfs doesn't work with containers, due to something with UID/GID shift btrfs subvolumes should be used for templates, since those enable COW. + + -- cgit v1.2.3