From 7a242156d29b0675586cfe66efd7e3b76b7ef40d Mon Sep 17 00:00:00 2001
From: Ludovic Schoepps <ludovic.schoepps@uni.lu>
Date: Tue, 14 Jan 2025 17:45:12 +0100
Subject: [PATCH] [luxembourg][vianden] Set correct disk by_path property

---
 .../sites/luxembourg/clusters/vianden/nodes/vianden-1.json    | 4 ++--
 input/grid5000/sites/luxembourg/clusters/vianden/vianden.yaml | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/data/grid5000/sites/luxembourg/clusters/vianden/nodes/vianden-1.json b/data/grid5000/sites/luxembourg/clusters/vianden/nodes/vianden-1.json
index ba74c897f2a..ba675ae680c 100644
--- a/data/grid5000/sites/luxembourg/clusters/vianden/nodes/vianden-1.json
+++ b/data/grid5000/sites/luxembourg/clusters/vianden/nodes/vianden-1.json
@@ -105,9 +105,9 @@
   "storage_devices": [
     {
       "by_id": "",
-      "by_path": "/dev/disk/by-path/dummy",
+      "by_path": "/dev/disk/by-path/pci-0000:18:00.0-nvme-1",
       "id": "disk0",
-      "interface": "SAS",
+      "interface": "NVME",
       "model": "unknown",
       "size": 8,
       "storage": "SSD",
diff --git a/input/grid5000/sites/luxembourg/clusters/vianden/vianden.yaml b/input/grid5000/sites/luxembourg/clusters/vianden/vianden.yaml
index a5b322adcb8..a214bcea741 100644
--- a/input/grid5000/sites/luxembourg/clusters/vianden/vianden.yaml
+++ b/input/grid5000/sites/luxembourg/clusters/vianden/vianden.yaml
@@ -31,8 +31,8 @@ nodes:
     storage_devices:
       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.
+        interface: NVME
+        by_path: "/dev/disk/by-path/pci-0000:18:00.0-nvme-1"
     software:
       standard-environment: debian11-x64-std
     management_tools:
-- 
GitLab