diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2026-06-14 08:03:29 -0500 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2026-06-14 08:03:29 -0500 |
| commit | 66e80b70c6bb73b02ac58771b6aff464b2674901 (patch) | |
| tree | 4b6dd65cc487b88b1d8ff3b7ae04730fb9d4ed15 | |
| parent | 4c839c3481e8fb720aa68dcb4abf88f045e245ec (diff) | |
nspawn
| -rw-r--r-- | nspawn/post-install.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nspawn/post-install.txt b/nspawn/post-install.txt index 4ebf23a..afc2c30 100644 --- a/nspawn/post-install.txt +++ b/nspawn/post-install.txt @@ -4,13 +4,13 @@ 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... /usr/sbin/useradd -m -s /usr/bin/fish brad passwd brad -apt install locale sudo tmux git fish +apt install locales sudo tmux git fish git-delta tig keychain /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 -systemctl --user start ssh-agent.service +# do this as root AND as brad (not needed if you are running keychain!) +# systemctl --user enable ssh-agent.service +# systemctl --user start ssh-agent.service loginctl enable-linger brad |
