Documentation
¶
Index ¶
Constants ¶
View Source
const ( FabName = "fab.yaml" WiringName = "wiring.yaml" InstallSuffix = "-install" InstallArchiveSuffix = InstallSuffix + ".tgz" InstallIgnitionSuffix = InstallSuffix + ".ign" InstallUSBImageWorkdirSuffix = InstallSuffix + "-usb.wip" InstallUSBImageSuffix = InstallSuffix + "-usb.img" InstallHashSuffix = InstallSuffix + ".inhash" RecipeBin = "hhfab-recipe" )
View Source
const ( ControlUSBRootRef = "fabricator/control-usb-root" ControlUSBIgnition = "ignition.json" ControlOSTarget = "/opt/hedgehog/install" )
View Source
const ( InstallLog = "/var/log/install.log" HedgehogDir = "/opt/hedgehog" InstallMarkerFile = HedgehogDir + "/.install" InstallMarkerComplete = "complete" )
Variables ¶
Functions ¶
Types ¶
type ControlInstall ¶
type ControlInstall struct { WorkDir string Fab fabapi.Fabricator Control fabapi.ControlNode Wiring *apiutil.Loader RegUsers map[string]string }
type ControlInstallBuilder ¶
type ControlInstallBuilder struct { WorkDir string Fab fabapi.Fabricator Control fabapi.ControlNode Wiring client.Reader USBImage bool Downloader *artificer.Downloader }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.