ironic-python-agent-builder/dib/ironic-ramdisk-base
Julia Kreger 94171f104c Create random character devices so systemd does not crash
Systemd, depending on the version and the configuration,
can attempt to open urandom when a ramdisk boots, before
the udevd is launched to handle the devices. In particular
in FIPS mode, this can result in the ramdisk crashing.

In order to handle this, we pre-create the chracter device
files which can be statically used in the early start sequence
to allow the agent to boot and deploy.

Change-Id: I587e66a0d6b652c4aeca6fc211602d999d4641e8
2022-02-16 09:19:57 -08:00
..
cleanup.d Create random character devices so systemd does not crash 2022-02-16 09:19:57 -08:00
README.rst Allow opt-out of full ramdisk pruning 2021-08-11 11:01:25 -07:00
element-deps Add ironic-ramdisk-base to build general-purpose ramdisks 2020-12-16 17:51:37 +01:00

README.rst

ironic-ramdisk-base

This is a base element for ironic ramdisks. It does not install anything, just takes the prepared images and extract kernel/ramdisk from it.

Configurable Environment Variables

  • DIB_IPA_COMPRESS_COMMAND defaults to gzip, may be set to any valid compression program usable for an initramfs
  • DIB_IPA_MINIMAL_PRUNE defaults to 0 (false). If set to 1, will skip most ramdisk size optimizations. This may be helpful for use of packages with IPA that require otherwise-pruned directories or files.