Files
vms/distros/nixos/24.11/http/in-chroot.sh
T
2025-01-22 09:53:33 -06: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