Ad-hoc collection of scripts and snippets for doing jobs.
Find a file
2024-03-29 15:26:29 +00:00
doc Start adding some VM automation. 2024-03-29 15:26:29 +00:00
infra/scripts Clean structure and update readme to reflect use of python. 2024-03-29 12:49:42 +00:00
src Start adding some VM automation. 2024-03-29 15:26:29 +00:00
test Clean structure and update readme to reflect use of python. 2024-03-29 12:49:42 +00:00
.gitignore Clean package structure ahead of tests 2024-03-29 12:23:14 +00:00
Containerfile Start adding some VM automation. 2024-03-29 15:26:29 +00:00
LICENSE Add license and readme. 2024-03-29 09:56:25 +00:00
README.md Clean structure and update readme to reflect use of python. 2024-03-29 12:49:42 +00:00

This repo has some scripts that I use for managing machines and containers.

Samples

Set up a machine with a named non-root user and some secure ssh config.

python3 src/machine_setup.py

Running Tests

python3 -m venv --prompt machine_admin .venv
source .venv/bin/activate
pip install -r test/requirements.txt
pytest

Copyright

The contents of this repo are Copyright James Grogan 2024. Software is licensed under the AGPL. See the included LICENSE file for details.