diff options
Diffstat (limited to 'nvmf-autoconnect')
-rw-r--r-- | nvmf-autoconnect/udev-rules/70-nvmf-keys.rules.in | 7 |
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" |