summaryrefslogtreecommitdiffstats
path: root/nvmf-autoconnect
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-09 08:09:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-09 08:09:56 +0000
commit2822061d0e17d5acdbc46740b535021115f11071 (patch)
tree8c14f8690f3689562c5fd1d550e1883629ced2a8 /nvmf-autoconnect
parentAdding upstream version 2.10.2. (diff)
downloadnvme-cli-upstream.tar.xz
nvme-cli-upstream.zip
Adding upstream version 2.11.upstream/2.11upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'nvmf-autoconnect')
-rw-r--r--nvmf-autoconnect/udev-rules/70-nvmf-keys.rules.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/nvmf-autoconnect/udev-rules/70-nvmf-keys.rules.in b/nvmf-autoconnect/udev-rules/70-nvmf-keys.rules.in
new file mode 100644
index 0000000..0b175be
--- /dev/null
+++ b/nvmf-autoconnect/udev-rules/70-nvmf-keys.rules.in
@@ -0,0 +1,7 @@
+#
+# nvmf-keys.rules:
+# Load pre-shared keys into the kernel keyring when
+# the PSK keyring module gets loaded.
+#
+#
+ACTION=="add", SUBSYSTEM=="module", KERNEL=="nvme_tcp", TEST=="@SYSCONFDIR@/tls-keys", RUN+="@SBINDIR@/nvme tls --import --keyfile @SYSCONFDIR@/tls-keys"