clevis/0001-Drop-rd.neednet-1-for-the-time-being-so-tpm2-unlock-.patch
2018-12-06 13:44:49 +00:00

41 lines
1.0 KiB
Diff

From b0ade8201b508d74f38488e08a31d93117894d83 Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson@gmail.com>
Date: Thu, 6 Dec 2018 13:42:33 +0000
Subject: [PATCH] Drop rd.neednet=1 for the time being so tpm2 unlock will work
without network
This is a temporary hack while a proper upstream fix is worked out to allow
tang and tpm2 configurations to co-exist.
Being tracked in:
https://bugzilla.redhat.com/show_bug.cgi?id=1628258
https://github.com/latchset/clevis/issues/54
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
src/luks/systemd/dracut/module-setup.sh.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/luks/systemd/dracut/module-setup.sh.in b/src/luks/systemd/dracut/module-setup.sh.in
index 990bf4a..399e468 100755
--- a/src/luks/systemd/dracut/module-setup.sh.in
+++ b/src/luks/systemd/dracut/module-setup.sh.in
@@ -19,12 +19,12 @@
#
depends() {
- echo crypt systemd network
+ echo crypt systemd
return 0
}
cmdline() {
- echo "rd.neednet=1"
+ echo ""
}
install() {
--
2.19.2