diff options
author | Andrew Cady <d@jerkface.net> | 2018-06-10 11:01:27 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2018-06-13 17:13:52 -0400 |
commit | 46a9eab9586c0f901e4bf0ac3c6a887a7cbb3270 (patch) | |
tree | 4de74562836574858a5ba1d62786ba578f8a646c /initramfs-tools | |
parent | 4eb0ac11229aba304fc584aef9413be04d6bbb1f (diff) |
Update for newer versions of nbd-client
The kernel commandline syntax for `nbdroot=...` changed.
Diffstat (limited to 'initramfs-tools')
-rw-r--r-- | initramfs-tools/scripts/samizdat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs-tools/scripts/samizdat b/initramfs-tools/scripts/samizdat index a42b321..1e333f4 100644 --- a/initramfs-tools/scripts/samizdat +++ b/initramfs-tools/scripts/samizdat | |||
@@ -40,7 +40,7 @@ keys_via_network() | |||
40 | for arg in $cmdline; do | 40 | for arg in $cmdline; do |
41 | case "$arg" in | 41 | case "$arg" in |
42 | netkeys) | 42 | netkeys) |
43 | tftp_key_server="${nbdroot%%,*}" | 43 | tftp_key_server="${nbdroot%%/*}" |
44 | return 0 | 44 | return 0 |
45 | ;; | 45 | ;; |
46 | netkeys=*) | 46 | netkeys=*) |