summaryrefslogtreecommitdiff
path: root/nspawn/post-install.txt
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2026-06-12 18:11:56 -0500
committerBrad Clawsie <brad@b7j0c.org>2026-06-12 18:11:56 -0500
commit81e5434acceb457691e5c7be02246ab551d27b92 (patch)
tree2097e19661307048edf2036bd6b0dfad7c594827 /nspawn/post-install.txt
parentdd60e5333cedaa139316d8b2fa28d863a5c72092 (diff)
nspawn
Diffstat (limited to 'nspawn/post-install.txt')
-rw-r--r--nspawn/post-install.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/nspawn/post-install.txt b/nspawn/post-install.txt
index 6f4b580..4ebf23a 100644
--- a/nspawn/post-install.txt
+++ b/nspawn/post-install.txt
@@ -2,13 +2,11 @@
sudo systemd-nspawn -D /var/lib/machines/{$machine} /usr/bin/passwd
# do sudo systemd-nspawn -b -D /var/lib/machines/{$machine} to log in as root and do...
-pacman-key --init
-pacman-key --populate archlinux
-useradd -m -G wheel -s /usr/bin/fish brad
+/usr/sbin/useradd -m -s /usr/bin/fish brad
passwd brad
-echo 'brad ALL=(ALL) ALL' > /etc/sudoers.d/00_brad
-edit /etc/locale.gen # https://wiki.archlinux.org/title/Locale
-locale-gen
+apt install locale sudo tmux git fish
+/usr/sbin/usermod -a -G sudo brad
+/usr/sbin/dpkg-reconfigure locales
# do this as root AND as brad
systemctl --user enable ssh-agent.service