it's alive!
initial commit
Last tested with 22.10.
Copies SSH authorized_keys from root account:
adduser mc || true
adduser mc sudo
cd /home/mc/
mkdir --parents .ssh
cd .ssh
touch authorized_keys
chown --recursive mc:mc .
chmod 700 .
chmod 600 authorized_keys
cp ~/.ssh/* .
Log in as that new user, clone this repo, and run the following:
./setup.sh
agree-mc-eula
sudo systemctl enable --now mc
journalctl -u mc
mcrcon -p password