diff options
Diffstat (limited to 'nspawn/post-install.txt')
| -rw-r--r-- | nspawn/post-install.txt | 10 |
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 |
