COT.helpers.mkisofs
module¶
Give COT access to mkisofs
or genisoimage
for creating ISO images.
-
class
MkIsoFS
[source]¶ Bases:
COT.helpers.helper.Helper
Helper provider for
mkisofs
and/orgenisoimage
.Methods
install_helper
Install mkisofs
and/orgenisoimage
.create_iso
Create a new ISO image at the requested location. -
create_iso
(file_path, contents)[source]¶ Create a new ISO image at the requested location.
Parameters: - file_path (str) – Desired location of new disk image
- contents (list) – List of file paths to package into the created image.
-
name
¶ Either
mkisofs
orgenisoimage
depending on environment.
-
path
¶ Find either
mkisofs
orgenisoimage
if available.
-