summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup-disk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-disk.in b/setup-disk.in
index 5754c04..2f310fc 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -619,7 +619,7 @@ install_mounted_root() {
if cryptsetup status "$cryptroot" 2>&1 >/dev/null; then
cryptroot=$(cryptsetup status "$cryptroot" | awk '/device:/ { print $2 }')
cryptroot=$(uuid_or_device $cryptroot)
- kernel_opts="cryptroot=$cryptroot cryptdm=root"
+ kernel_opts="cryptroot=$cryptroot cryptdm=root $kernel_opts"
root=$([ -n "$pvs" ] && echo "$rootdev" || echo "/dev/mapper/root")
fi