<commit_before># (qbian) qemu + minibian :: qbian

#### A cli tool-set to help create & provision minibian images

* Run on linux or vagrant VM linix machine ( TO BE COMPLETE )
* Uses kpartx for mounting the *.img and editing with a provision script
* Uses qemu for emulation of the arm image.
* Toolset will be extended over time. i.e create new images & config with custom proviisions.

_Add the cli into your bin_
```bash
$ git clone -b {release} {url}
$ ln -f /path/to/qbain/package/bin/qbain ~/bin/qbain
```

#### _Quick example_

---
```bash
$ qbain --create-default # creates a default image, uses the injects/default folder as injects
$ qbian --run default 5522 # run the default image, uses port 5522 to ssh
$ qbian --list # List the available images to run
```
_After you create the default image you can login using_ :<commit_msg>images in readme<commit_after># (qbian) qemu + minibian :: qbian

#### A cli tool-set to help create & provision minibian images

* Run on linux or vagrant VM linix machine ( TO BE COMPLETE )
* Uses kpartx for mounting the *.img and editing with a provision script
* Uses qemu for emulation of the arm image.
* Toolset will be extended over time. i.e create new images & config with custom proviisions.

_Add the cli into your bin_
```bash
$ git clone -b {release} {url}
$ ln -f /path/to/qbain/package/bin/qbain ~/bin/qbain
```

![Running on qemu](/../images/run-img.png?raw=true "Running on qemu")
![Running on qemu](https://raw.githubusercontent.com/trojanspike/qbian/images/run-img.png)


#### _Quick example_

---
```bash
$ qbain --create-default # creates a default image, uses the injects/default folder as injects
$ qbian --run default 5522 # run the default image, uses port 5522 to ssh
$ qbian --list # List the available images to run
```
_After you create the default image you can login using_ :
{'fraction_non_alphanumeric': 0.10497835497835498, 'fraction_numerical': 0.008658008658008658, 'mean_word_length': 3.827676240208877, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '843296', 'n_tokens_mistral': 619, 'n_tokens_neox': 583, 'n_words': 253}