summaryrefslogtreecommitdiff
path: root/nspawn/make-dev-container.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nspawn/make-dev-container.sh')
-rw-r--r--nspawn/make-dev-container.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/nspawn/make-dev-container.sh b/nspawn/make-dev-container.sh
new file mode 100644
index 0000000..696248d
--- /dev/null
+++ b/nspawn/make-dev-container.sh
@@ -0,0 +1,6 @@
+sudo apt install systemd-container
+
+sudo systemctl start systemd-machined.service
+
+sudo debootstrap --include=dbus,libpam-systemd,libnss-systemd stable /var/lib/machines/$machine
+