Package com.io7m.waxmill.machines
Interface WXMBootConfigurationType.WXMGRUBKernelOpenBSDType
- All Superinterfaces:
WXMBootConfigurationType.WXMGRUBKernelInstructionsType
- All Known Implementing Classes:
WXMGRUBKernelOpenBSD
- Enclosing interface:
- WXMBootConfigurationType
@Immutable public static interface WXMBootConfigurationType.WXMGRUBKernelOpenBSDType extends WXMBootConfigurationType.WXMGRUBKernelInstructionsType
OpenBSD kernel instructions.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.io7m.waxmill.machines.WXMBootConfigurationType.WXMGRUBKernelInstructionsType
WXMBootConfigurationType.WXMGRUBKernelInstructionsType.Kind -
Method Summary
Modifier and Type Method Description WXMDeviceSlotbootDevice()default voidcheckPreconditions()Check preconditions for the type.java.nio.file.PathkernelPath()default WXMBootConfigurationType.WXMGRUBKernelInstructionsType.Kindkind()java.lang.Stringpartition()The name of the partition within which to find the kernel.default java.util.Set<WXMDeviceSlot>requiredDevices()
-
Method Details
-
kind
- Specified by:
kindin interfaceWXMBootConfigurationType.WXMGRUBKernelInstructionsType- Returns:
- The kind of underlying kernel
-
bootDevice
WXMDeviceSlot bootDevice()- Returns:
- The device from which booting will occur
-
partition
java.lang.String partition()The name of the partition within which to find the kernel. This is typicallyopenbsd1if the defaults are picked in the OpenBSD installer.- Returns:
- The name of the partition
-
kernelPath
java.nio.file.Path kernelPath()- Returns:
- The path to the kernel on the guest filesystem
-
requiredDevices
- Specified by:
requiredDevicesin interfaceWXMBootConfigurationType.WXMGRUBKernelInstructionsType- Returns:
- The slots required to have assigned storage
-
checkPreconditions
@Check default void checkPreconditions()Check preconditions for the type.
-