Switch from device name to partition UUID
Using partition UUID is safer than device name as it prevents accidental erasure of incorrect devices should the device names change.
This commit is contained in:
parent
0a462c791f
commit
2522dcdb59
@ -1,6 +1,6 @@
|
||||
# Inferencium - aa000-0
|
||||
# dm-crypt - Configuration
|
||||
# Version: 3.0.0-alpha.2
|
||||
# Version: 3.0.0-alpha.3
|
||||
|
||||
# Copyright 2023 Jake Winters
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
@ -18,6 +18,6 @@ dmcrypt_retries="5"
|
||||
# swap
|
||||
## These should come first so no keys make their way into unencrypted swap.
|
||||
swap="swap"
|
||||
source="/dev/nvme0n1p2"
|
||||
source="PARTUUID=[REDACTED]"
|
||||
options="--cipher aes-xts-plain64 --size 512 --key-file /dev/urandom"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user