kiwi.container.setup Package
Submodules
kiwi.container.setup.base
Module
- class kiwi.container.setup.base.ContainerSetupBase(root_dir, custom_args=None)[source]
Bases:
object
Base class for setting up the root system to create a container image from for e.g docker. The methods here are generic to linux systems following the FHS standard and modern enough e.g based on systemd
Attributes
root_dir
root directory path name
custom_args
dict of custom arguments
- deactivate_bootloader_setup()[source]
Container bootloader setup
Tell the system there is no bootloader configuration it needs to care for. A container does not boot
- deactivate_root_filesystem_check()[source]
Container filesystem check setup
The root filesystem of a container could be an overlay or a mapped device. In any case it should not be checked for consistency as this is should be done by the container infrastructure
- deactivate_systemd_service(name)[source]
Container system services setup
Init systems among others also controls services which starts at boot time. A container does not really boot. Thus some services needs to be deactivated
- Parameters:
name (string) – systemd service name