Debian Module

class carthage.debian.DebianContainerImage(name: str = None, mirror: str = None, distribution: str = None, stage1_mirror: str = None, include_security: bool = None, **kwargs)
async carthage.debian.debian_container_to_vm(volume: ~carthage.image.ContainerVolume, output: str, size: str, classes: str = None, *, config, image_volume_class=<class 'carthage.image.ImageVolume'>, ainjector)

Use FAI to convert a container image into a VM image. Carthage’s FAI configuration currently requires that the host running Carthage (and probably the container being converted) use systemd-resolved for DNS.

Parameters:
  • size – Size of resulting disk; for example 8g

  • classes

    The FAI classes to use. If this starts with a “+”, then add to the default classes. The following classes are available:

    • SERIAL: enable serial console

    • DEFAULT: mandatory behavior

    • GROW: grow the root partition to fill the disk if the disk is expanded

    • GRUB_EFI: Install EFI version of grub.

    • CLOUD_INIT: Enable cloud-init