use hostId for luks disks
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
{disk-second}: {
|
||||
{
|
||||
disk-second,
|
||||
hostId,
|
||||
}: {
|
||||
type = "disk";
|
||||
device = disk-second;
|
||||
content = {
|
||||
@ -8,7 +11,7 @@
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "luks";
|
||||
name = "luks-second";
|
||||
name = "luks-${hostId}-second";
|
||||
initrdUnlock = true;
|
||||
settings.allowDiscards = true;
|
||||
content = {
|
||||
|
Reference in New Issue
Block a user