diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2026-06-15 13:34:56 -0500 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2026-06-15 13:34:56 -0500 |
| commit | ccefcb6828435d24647b2b523143c95540069d38 (patch) | |
| tree | 361301630f8c5900db7fccff90d96ed7e4d0a13a | |
| parent | 626436e4fcd8c283e3e5564b7bca5cce8e55def1 (diff) | |
nspawn
| -rw-r--r-- | nspawn/post-install.txt | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/nspawn/post-install.txt b/nspawn/post-install.txt index 4209fc1..8db324c 100644 --- a/nspawn/post-install.txt +++ b/nspawn/post-install.txt @@ -1,21 +1,14 @@ -# set root passwd from local shell -sudo systemd-nspawn -D /var/lib/machines/{$machine} /usr/bin/passwd +sudo systemd-nspawn -D /var/lib/machines/dev /usr/bin/passwd -# do sudo systemd-nspawn -b -D /var/lib/machines/{$machine} to log in as root and do... +login: sudo systemd-nspawn -b -D /var/lib/machines/dev + +apt install locales sudo tmux just git fish git-delta tig keychain build-essential cmake wget curl /usr/sbin/useradd -m -s /usr/bin/fish brad passwd brad -apt install locales sudo tmux just git fish git-delta tig keychain build-essential cmake wget curl /usr/sbin/usermod -a -G sudo brad /usr/sbin/dpkg-reconfigure locales edit /etc/hosts to add 'debian' to first two lines - -# 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 -# make a tarball of stuff to cp over -tar -rvf d.tar .gitconfig .tmux.conf .ssh .gnupg .config/fish .config/nvim bin/pull-git.pl bin/push-git.pl repos/bradclawsie/dotfiles-public/.git/config |
