Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabiand/edit-node-guestfs
A guestfs based edit-node
https://github.com/fabiand/edit-node-guestfs
Last synced: about 2 months ago
JSON representation
A guestfs based edit-node
- Host: GitHub
- URL: https://github.com/fabiand/edit-node-guestfs
- Owner: fabiand
- Created: 2013-09-27T09:08:14.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-27T10:02:26.000Z (over 11 years ago)
- Last Synced: 2023-03-31T16:59:58.513Z (almost 2 years ago)
- Language: Shell
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
edit-node-guestfs
=================> Note: This is a POC!
A guestfs based edit-node.
This is how it works:
1. guestfish is used to extract the ext3fs.img from an existing LiveCD ISO
2. guestfish is used to run a script inside the ext3fs.img (which is mounted inside a VM)
3. Classic tools are used to rebuild the LiveCD ISO (TBD)Usage:
edit-iso.sh []
Where
* `isoname` is the path to an existing ISO.
* `cmd` is a predefined cmd - a list of comands is printed when you don't provide a ``
* `cmdargs` (optional) Some commands take arguments (like `yum-install`)Example:
sudo setsebool -P virt_use_fusefs 1
edit-iso.sh infoWill print some informations about the iso (system-release and ovirt rpms)
## Notes
* `setsebool -P virt_use_fusefs 1` needs to be enabled to allow guestfs to mount nested images
* This might not work on RHEL because guestmount is used - which in turn uses FUSE
* This tool does not yet require root rights, as the VM is spawned in a qemu session