Files
vms/distros/nixos/24.05/http/in-chroot.sh
T
2024-06-30 00:08:38 -05:00

11 lines
225 B
Bash

#!/usr/bin/env bash
set -ex
# Set passwords
echo "vagrant:vagrant" | chpasswd
echo "root:vagrant" | chpasswd
# Set ownership of things vagrant should own
chown -R vagrant:vagrant ~vagrant/
chown -R vagrant:wheel /etc/nixos