From 28a3df74a1717254d7857dc2f8592af9867e50df Mon Sep 17 00:00:00 2001
From: Benoit Donneaux <benoit@leastauthority.com>
Date: Thu, 22 Feb 2024 16:04:09 +0100
Subject: [PATCH] Use partUUID instead of UUID as recommended

Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
---
 morph/grid/hro-cloud/storage001-hardware.nix | 2 +-
 morph/grid/hro-cloud/storage002-hardware.nix | 2 +-
 morph/grid/hro-cloud/storage003-hardware.nix | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/morph/grid/hro-cloud/storage001-hardware.nix b/morph/grid/hro-cloud/storage001-hardware.nix
index 6c76a336..666c250a 100644
--- a/morph/grid/hro-cloud/storage001-hardware.nix
+++ b/morph/grid/hro-cloud/storage001-hardware.nix
@@ -30,7 +30,7 @@
     };
 
   swapDevices = [ {
-    device = "/dev/disk/by-uuid/45eb994e-0d1b-4903-9412-920f0ba017c9";
+    device = "/dev/disk/by-partuuid/9f8f4ed8-9c26-45ff-ba1b-648a3babc050";
     randomEncryption = true;
   } ];
 
diff --git a/morph/grid/hro-cloud/storage002-hardware.nix b/morph/grid/hro-cloud/storage002-hardware.nix
index 26304391..e12894f9 100644
--- a/morph/grid/hro-cloud/storage002-hardware.nix
+++ b/morph/grid/hro-cloud/storage002-hardware.nix
@@ -32,7 +32,7 @@
     };
 
   swapDevices = [ {
-    device = "/dev/disk/by-uuid/51e0652f-46c9-4150-95a1-223f37154d4f";
+    device = "/dev/disk/by-partuuid/e0e81098-3b66-4486-b138-b320645bc698";
     randomEncryption = true;
   } ];
 
diff --git a/morph/grid/hro-cloud/storage003-hardware.nix b/morph/grid/hro-cloud/storage003-hardware.nix
index f94c91cd..5192883c 100644
--- a/morph/grid/hro-cloud/storage003-hardware.nix
+++ b/morph/grid/hro-cloud/storage003-hardware.nix
@@ -30,7 +30,7 @@
    };
 
   swapDevices = [ {
-    device = "/dev/disk/by-uuid/b02af75a-ea3a-47cf-ad40-c6611ee4dc09";
+    device = "/dev/disk/by-partuuid/f56b5104-e4a7-443e-91c8-4555eb27899e";
     randomEncryption = true;
   } ];
 
-- 
GitLab