Skip to content

[WIP] Extract vm images #11 - #19

Closed
pombredanne wants to merge 3 commits into
mainfrom
11-vm-images
Closed

[WIP] Extract vm images #11#19
pombredanne wants to merge 3 commits into
mainfrom
11-vm-images

Conversation

@pombredanne

Copy link
Copy Markdown
Member

This PR adds support to extract filesystems as files as found in VM images from VirtualBox, VMware and QEMU using libguestfs.

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
With this all supported archive formats with be tried.

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
THis is a two step extraction using libguestfs to get a FS to a tarball
which is then extractcode normally (hence dealing with links, device
files and other permission oddities as a side effect).

We support VDI (VirtualBox, VMDK (VMware) and QCOW2 (QEMU)

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@pombredanne

Copy link
Copy Markdown
Member Author

This is not yet tested

@pombredanne pombredanne closed this Apr 6, 2021
@pombredanne
pombredanne deleted the 11-vm-images branch April 6, 2021 22:08
pombredanne pushed a commit that referenced this pull request May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant