TEST
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"data-${DISK_NUMBER}" = {
|
||||
"content-${DISK_NUMBER}" = {
|
||||
type = "disk";
|
||||
device = "${DISK_PATH}";
|
||||
content = {
|
||||
@@ -8,12 +8,12 @@
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "luks";
|
||||
name = "crypted-data-${DISK_NUMBER}";
|
||||
settings.keyFile = "/run/secrets/disks/data-disk-${DISK_NUMBER}";
|
||||
name = "crypted-content-${DISK_NUMBER}";
|
||||
settings.keyFile = "/run/secrets/disks/content-disk-${DISK_NUMBER}";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "xfs";
|
||||
mountpoint = "/mnt/data-${DISK_NUMBER}";
|
||||
mountpoint = "/mnt/content-${DISK_NUMBER}";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user