From 5274f450ea8a3d618612912363d0d45a6ce4b76c Mon Sep 17 00:00:00 2001 From: Brad Clawsie Date: Wed, 10 Jun 2026 09:58:37 -0500 Subject: batonpass --- nspawn/post-install.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'nspawn') diff --git a/nspawn/post-install.txt b/nspawn/post-install.txt index 6c6f440..6f4b580 100644 --- a/nspawn/post-install.txt +++ b/nspawn/post-install.txt @@ -1,5 +1,7 @@ -# set root passwd -systemd-nspawn -D /var/lib/machines/{$machine} /usr/bin/passwd +# set root passwd from local shell +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 -- cgit v1.2.3