mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-08-30 13:00:45 +00:00
initramfs: Add virtiofs
Today it's built as a module for Fedora derivatives, but it's a relatively small kmod. In particular I want to be able to use a virtiofs root as a bootstrap mechanism to generate disk images in a situation where we can't do nested containers, but we do have `/dev/kvm` - which is the setup we have in e.g. OpenShift Prow on `build02` with nested virt.
This commit is contained in:
parent
51f1c28c43
commit
776e92256b
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,10 @@ postprocess:
|
|||
hostonly=no
|
||||
dracutmodules+=" kernel-modules dracut-systemd systemd-initrd base ostree "
|
||||
EOF
|
||||
cat > /usr/lib/dracut/dracut.conf.d/22-bootc-generic.conf << 'EOF'
|
||||
# Extra modules that we want by default that are known to exist in the kernel
|
||||
dracutmodules+=" virtiofs "
|
||||
EOF
|
||||
cat > /usr/lib/dracut/dracut.conf.d/49-bootc-tpm2-tss.conf << 'EOF'
|
||||
# We want this for systemd-cryptsetup tpm2 locking
|
||||
dracutmodules+=" tpm2-tss "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue