From 97e6a5f2e270bf294f2cba03402725373b9549e6 Mon Sep 17 00:00:00 2001
From: Hugo Dominois <hugo.dominois@inria.fr>
Date: Wed, 9 Apr 2025 09:17:55 +0200
Subject: [PATCH] [sophia][esterel22] Change the disk by-path for
 valid:duplicates

---
 input/grid5000/sites/sophia/clusters/esterel22/esterel22.yaml | 4 ++--
 input/grid5000/sites/sophia/clusters/esterel22/nodes.yaml.erb | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/input/grid5000/sites/sophia/clusters/esterel22/esterel22.yaml b/input/grid5000/sites/sophia/clusters/esterel22/esterel22.yaml
index 69cab4048fd..253bc917772 100644
--- a/input/grid5000/sites/sophia/clusters/esterel22/esterel22.yaml
+++ b/input/grid5000/sites/sophia/clusters/esterel22/esterel22.yaml
@@ -33,11 +33,11 @@ nodes:
       disk0: # This field will have to be renamed later.
         id: disk0
         interface: SAS
-        by_path: "/dev/disk/by-path/dummy" # this path will have to change later.
+        by_path: "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:0:0" # this path will have to change later.
       disk1:
         id: disk1
         interface: SAS
-        by_path: "/dev/disk/by-path/dummy"
+        by_path: "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:1:0"
     software:
       standard-environment: debian11-x64-std # TODO: check that architecture is OK
     management_tools:
diff --git a/input/grid5000/sites/sophia/clusters/esterel22/nodes.yaml.erb b/input/grid5000/sites/sophia/clusters/esterel22/nodes.yaml.erb
index c40c912294f..69b873848de 100644
--- a/input/grid5000/sites/sophia/clusters/esterel22/nodes.yaml.erb
+++ b/input/grid5000/sites/sophia/clusters/esterel22/nodes.yaml.erb
@@ -77,10 +77,8 @@ nodes:
         storage: SSD # Fake data, will be replaced by g5k-checks
         model: unknown # Fake data, will be replaced by g5k-checks
         size: 8 # Fake data, will be replaced by g5k-checks
-        by_path: "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:0:0"
       disk1:
         storage: SSD
         model: unknown
         size: 8
-        by_path: "/dev/disk/by-path/pci-0000:19:00.0-scsi-0:2:1:0"
 <% } %>
-- 
GitLab