aboutsummaryrefslogtreecommitdiff
path: root/nspawn.wiki
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-14 14:46:59 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-14 14:46:59 +0200
commit28988cf879ac32da9b6c321da810413c531a95d2 (patch)
treeaf09c403d6f396fede647ab93db2edf0d0717c34 /nspawn.wiki
parenttis 14 jun 2022 14:46:56 CEST (diff)
parenttis 14 jun 2022 14:30:00 CEST (diff)
downloadwiki-public-28988cf879ac32da9b6c321da810413c531a95d2.tar.gz
wiki-public-28988cf879ac32da9b6c321da810413c531a95d2.tar.xz
Merge branch 'master' of git.hornquist.se:git/wiki-public
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.
+
+