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