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

Safe HaskellNone
LanguageHaskell2010

B9

Description

B9 is a library and build tool with primitive operations to rmrun a build script inside a virtual machine and to create and convert virtual machine image files as well as related ISO and VFAT disk images for e.g. cloud-init configuration sources.

This module re-exports the modules needed to build a tool around the library, e.g. see src/cli/Main.hs as an example.

B9.ArtifactGenerator is the module containing the basic data structure used to describe a B9 build.

Synopsis

Documentation

b9Version :: Version Source #

Return the cabal package version of the B9 library.

b9VersionString :: String Source #

Return the cabal package version of the B9 library, formatted using showVersion.

data B9RunParameters a Source #

A data structure that contains the B9Invokation as well as build parameters.

runB9 :: B9RunParameters a -> IO (a, Bool) Source #

Run a b9 build. Return True if the build was successful.