aboutsummaryrefslogtreecommitdiff
path: root/nspawn.wiki
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-14 14:30:00 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-14 14:30:00 +0200
commit0647bc0b7aee7d2a6bb84f748316e12683373ba8 (patch)
treec627d29ea361b0417b40eb9f9c41e0a52aeb03a1 /nspawn.wiki
parentons 25 maj 2022 02:32:00 CEST (diff)
downloadwiki-public-0647bc0b7aee7d2a6bb84f748316e12683373ba8.tar.gz
wiki-public-0647bc0b7aee7d2a6bb84f748316e12683373ba8.tar.xz
tis 14 jun 2022 14:30:00 CEST
Diffstat (limited to 'nspawn.wiki')
-rw-r--r--nspawn.wiki17
1 files changed, 17 insertions, 0 deletions
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.
+
+