Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/virt-manager/virt-bootstrap
https://github.com/virt-manager/virt-bootstrap
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/virt-manager/virt-bootstrap
- Owner: virt-manager
- License: gpl-3.0
- Created: 2017-06-20T19:08:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-05T08:13:16.000Z (over 2 years ago)
- Last Synced: 2024-08-02T12:47:13.822Z (3 months ago)
- Language: Python
- Size: 179 KB
- Stars: 75
- Watchers: 10
- Forks: 21
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS.in
Awesome Lists containing this project
- awesome-starred - virt-manager/virt-bootstrap - (others)
README
virt-bootstrap is a tool providing an easy way to setup the root
file system for libvirt-based containers.It allows to use either a tarball containing the file system or
an image on a docker registry and unpacks it either as a folder
or in a qcow2 image with backing chains to mimic the docker layers.Dependencies
------------* python 2 or 3
* skopeo
* virt-sandbox
* libguestfs python binding
* python passlib module
* python mock module (for tests only)Hacking
-------To test changes without installing the package in your machine,
use the run script. For example to run virt-bootstrap, use a command
like the following one:./run src/virtBootstrap/virt_bootstrap.py --help
The following commands will be useful for anyone writing patches:
./setup.py test # Run local unit test suite
./setup.py pylint # Run a pylint script against the codebaseAny patches shouldn't change the output of 'test' or 'pylint'. The 'pylint' requires `pylint` and `pycodestyle` to be installed.
If [coverage](https://pypi.python.org/pypi/coverage/) is installed, you can generate report using:
coverage run --source=virtBootstrap ./setup.py test
coverage report