b9-0.3.1: A tool and library for building virtual machine images.

Safe HaskellNone
LanguageHaskell2010

B9.ArtifactGeneratorImpl

Description

Mostly effectful functions to assemble artifacts.

Synopsis

Documentation

assemble :: ArtifactGenerator -> B9 [AssembledArtifact] Source

Run an artifact generator to produce the artifacts.

data SourceGenerator Source

Internal data type simplifying the rather complex source generation by bioling down ArtifactSources to a flat list of uniform SourceGenerators.

data SGType Source

Constructors

SGT 
SGF 

createTarget :: InstanceId -> FilePath -> ArtifactAssembly -> B9 [ArtifactTarget] Source

Create the actual target, either just a mountpoint, or an ISO or VFAT image.