Ad-hoc collection of scripts and snippets for doing jobs.
Find a file
2024-03-29 12:49:42 +00:00
infra/scripts Clean structure and update readme to reflect use of python. 2024-03-29 12:49:42 +00:00
src Fixes to get example running. Start adding test. 2024-03-29 12:39:44 +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 Clean package structure ahead of tests 2024-03-29 12:23:14 +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.