| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Preparatory commit before setup.py introduction.
|
|
|
|
|
|
|
|
|
| |
Add support for extracting image layers in qcow2 format.
Avoid requirement for root privileges by using libguestfs.
- Use "qemu-img" to create backing chain which links the layers.
- Use "virt-format" to format the qcow2 image.
- Use "virt-tar-in" to extract each tar archives in the qcow2 image.
|
|
|
|
|
|
|
|
|
| |
This is used to prevent the possibility to create files outside of
the destination path.
For example, members that have absolute file names starting with "/"
or file names with two dots "..".
Use qemu://session to avoid requirement for root privileges.
|
|
|
|
|
| |
Store container images downloaded with skopeo to avoid re-download.
Allow user to disable this option by passing "--no-cache" parameter
|
|
|
|
|
| |
Follow PEP8 using pycodestyle
https://pypi.python.org/pypi/pycodestyle/
|
| |
|
|
|
|
|
| |
Skopeo does not accept any trailing slash at the end of the url.
See https://github.com/projectatomic/skopeo#copying-images.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the following failing skopeo call:
'skopeo copy docker://ubuntu:latest/ dir://tmp/tmpyFFP9Wvirt-bootstrap'
The function `tempfile.mkdtemp()` returns full path and do not need additional
slash at the beginning. Thus the destination path is incorrect.
`dir://tmp/tmpyFFP9Wvirt-bootstrap`
-----^
it should be:
`dir:/tmp/tmpyFFP9Wvirt-bootstrap`
-----^
|
|
|
|
|
|
|
|
| |
The `print` function in Python3 is used with brackets.[1]
This syntax is also accepted in Python2.[2]
[1] https://docs.python.org/3.5/library/functions.html#print
[2] https://docs.python.org/2.7/library/functions.html#print
|
|
|