93. ImageInstallation

Support functions for installation via images

93.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    93.2. Global Functions

    93.2.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

    93.2.2. DeployImage

    Deploy an image

    Function parameters

    • string id

    • string target

    Return value

    • boolean - true on success

    93.2.3. DeployImageTemporarily

    Deploy an image temporarily (just mount if possible)

    Function parameters

    • string id

    • string target

    Return value

    • boolean - true on success

    93.2.4. DeployImages

    Deploy all images

    Function parameters

    • list<string> images

    • string target

    Return value

    • boolean

    93.2.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

    93.2.6. FillUpImagesDetails

    Loads non-mandatory details for every single selected image.

    Return value

    • boolean

    93.2.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

    93.2.8. ImageOrder

    Order of images to be deployed

    Return value

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

    93.2.9. ImagesToUse

    Returns map with description which images will be used

    Return value

    • map - with description

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

    93.2.10. SetRepo

    Set the repository to get images from

    Function parameters

    • integer repo

    Return value

    • void

    93.2.11. StoreAllChanges

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

    Return value

    • void

    93.2.12. SwMgmtImage

    Name of image containing software management metadata (if exists)

    Return value

    • string - image with sw mgmt metadata

    93.3. Global Variables

    93.4. Module Requirements

    93.4.1. Module Imports

    • Arch
    • Installation
    • PackageCallbacks
    • Popup
    • Progress
    • Report
    • String
    • XML

    93.4.2. Module Includes