commit
de03b77962
|
|
@ -3,14 +3,12 @@ postprocess:
|
||||||
- |
|
- |
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
mkdir -p /usr/lib/dracut/dracut.conf.d
|
mkdir -p /usr/lib/dracut/dracut.conf.d
|
||||||
cat > /usr/lib/dracut/dracut.conf.d/01-bootc-nohostonly.conf << 'EOF'
|
cat > /usr/lib/dracut/dracut.conf.d/20-bootc-base.conf << 'EOF'
|
||||||
# We want a generic image; hostonly makes no sense as part of a server side build
|
# We want a generic image; hostonly makes no sense as part of a server side build
|
||||||
hostonly=no
|
hostonly=no
|
||||||
|
dracutmodules+=" kernel-modules dracut-systemd systemd-initrd base ostree "
|
||||||
EOF
|
EOF
|
||||||
cat > /usr/lib/dracut/dracut.conf.d/49-tpm2-tss.conf << 'EOF'
|
cat > /usr/lib/dracut/dracut.conf.d/49-bootc-tpm2-tss.conf << 'EOF'
|
||||||
# We want this for systemd-cryptsetup tpm2 locking
|
# We want this for systemd-cryptsetup tpm2 locking
|
||||||
dracutmodules+=" tpm2-tss "
|
dracutmodules+=" tpm2-tss "
|
||||||
EOF
|
EOF
|
||||||
cat > /usr/lib/dracut/dracut.conf.d/01-centos-bootc-base.conf << 'EOF'
|
|
||||||
dracutmodules+=" kernel-modules dracut-systemd systemd-initrd base "
|
|
||||||
EOF
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue