diff options
| author | 2026-05-13 13:43:16 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:16 +0100 | |
| commit | e44fd262a68cbdeb992c6f36189c95bc3090c721 (patch) | |
| tree | 3be16e13807024a06f30ffff0d349277ba9fedd1 /etc/kernel | |
| parent | 208877d1e682536aa737748fffe4560956d3908a (diff) | |
| download | dotfiles-e44fd262a68cbdeb992c6f36189c95bc3090c721.tar.gz dotfiles-e44fd262a68cbdeb992c6f36189c95bc3090c721.tar.bz2 dotfiles-e44fd262a68cbdeb992c6f36189c95bc3090c721.zip | |
fix(etc): restrict lsblk to the parent device only
lsblk without -d lists the partition AND its children, so on a LUKS
setup the second line (the mapper's UUID) was leaking into the
rendered cmdline and deploy script. Add -d so only the partition's
own UUID is emitted.
Diffstat (limited to 'etc/kernel')
| -rw-r--r-- | etc/kernel/cmdline.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/kernel/cmdline.tmpl b/etc/kernel/cmdline.tmpl index dab0461..d7512dd 100644 --- a/etc/kernel/cmdline.tmpl +++ b/etc/kernel/cmdline.tmpl @@ -1 +1 @@ -rd.luks.name={{ output "lsblk" "-no" "UUID" (printf "/dev/%s" .luksRootPartition) | trim }}=root root=/dev/mapper/root rw quiet +rd.luks.name={{ output "lsblk" "-dno" "UUID" (printf "/dev/%s" .luksRootPartition) | trim }}=root root=/dev/mapper/root rw quiet |
