pyanaconda.modules.payloads.source.harddrive.harddrive_interface

Classes

HardDriveSourceInterface

Interface for the payload hard drive image source.

Module Contents

class pyanaconda.modules.payloads.source.harddrive.harddrive_interface.HardDriveSourceInterface[source]

Bases: pyanaconda.modules.payloads.source.source_base_interface.RepositorySourceInterface

Interface for the payload hard drive image source.

GetDevice()[source]

Get a device that contains the installation source.

Return str:

a resolved device name

Return type:

Str

GetISOFile()[source]

Get a path to the ISO image from the device root.

Returns an empty string if the source is pointing to an installation tree instead of an ISO image.

Return str:

an absolute path

Return type:

Str