Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0x4d4c/nixtrobed
Easily spin up a testbed for testing stuff with different Linux and Unix distributions
https://github.com/0x4d4c/nixtrobed
Last synced: 7 days ago
JSON representation
Easily spin up a testbed for testing stuff with different Linux and Unix distributions
- Host: GitHub
- URL: https://github.com/0x4d4c/nixtrobed
- Owner: 0x4d4c
- License: mit
- Created: 2022-08-06T10:40:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-18T19:50:01.000Z (over 2 years ago)
- Last Synced: 2024-11-13T17:55:21.889Z (2 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nixtrobed
nixtrobed is a tiny wrapper around Vagrant and Ansible to easily create a number of VMs. Its main use case is to test software and scripts etc. on different distributions.## Usage
```
Usage: nixtrobed [OPTIONS] COMMAND [ARGS]...Options:
-h, --help Show this message and exit.Commands:
init Generate and initialize a new testbed directory.
provision Provision the boxes of the given distributions.
start Start the boxes of the given distributions.
stop Stop the boxes of the given distributions.
```### Initializing a new nixtrobed directory
The first step is to create a new folder. The command to use is `nixtrobed init`:
```
Usage: nixtrobed init DIRECTORYGenerate and initialize a new testbed directory.
DIRECTORY is the target directory. This must not exist yet.
```
For example:
```
$ nixtrobed init some-folder
$ tree -r some-folder
some-folder
├── Vagrantfile.jinja
├── provisioning
│ ├── roles
│ └── playbooks
│ └── default.yml
└── nixtrobed.distros
```