95. ImageInstallation

Support functions for installation via images

95.1. Authors

  • Jiri Srain <jsrain@suse.cz>

  • Lukas Ocilka <locilka@suse.cz>

95.2. Summary of Module Globals

List of Global Functions

List of Global Variables

    95.3. Global Functions

    95.3.1. CleanTemporaryImage

    UnDeploy an image temporarily (if possible, only for the FS images)

    Function parameters

    • string id

    • string target

    Return value

    • boolean - true on success

    95.3.2. DeployImage

    Deploy an image

    Function parameters

    • string id

    • string target

    Return value

    • boolean - true on success

    95.3.3. DeployImageTemporarily

    Deploy an image temporarily (just mount if possible)

    Function parameters

    • string id

    • string target

    Return value

    • boolean - true on success

    95.3.4. DeployImages

    Deploy all images

    Function parameters

    • list<string> images

    • string target

    Return value

    • boolean

    95.3.5. FileSystemCopy

    Copy a subtree, limit to a single filesystem

    Function parameters

    • string from

    • string to

    • integer progress_start

    • integer progress_finish

    Return value

    • boolean - true on success

    95.3.6. FillUpImagesDetails

    Loads non-mandatory details for every single selected image.

    Return value

    • boolean

    95.3.7. FindImageSet

    Find a set of images which suites selected patterns

    Function parameters

    • list<string> patterns

    Return value

    • boolean - true on success or when media does not contain any images

    95.3.8. ImageOrder

    Order of images to be deployed

    Return value

    • list<string> - a list of images definint the order

    95.3.9. ImagesToUse

    Returns map with description which images will be used

    Return value

    • map - with description

    $[
       "deploying_enabled" : boolean,
       "images" : returned by GetCurrentImages()
     ]
    

    See also:

    • GetCurrentImages()

    95.3.10. SetRepo

    Set the repository to get images from

    Function parameters

    • integer repo

    Return value

    • void

    95.3.11. StoreAllChanges

    Function stores all new/requested states of all handled/supported types.

    Return value

    • void

    See also:

    • all_supported_types

    • objects_state

    95.3.12. SwMgmtImage

    Name of image containing software management metadata (if exists)

    Return value

    • string - image with sw mgmt metadata

    95.4. Global Variables

    95.5. Module Requirements

    95.5.1. Module Imports

    • Arch
    • Installation
    • PackageCallbacks
    • Packages
    • Popup
    • ProductControl
    • ProductFeatures
    • Progress
    • Report
    • SlideShow
    • String
    • XML

    95.5.2. Module Includes