From 6eedf852b8dc5fcf3fdc3b16055e6f9b0a17293b Mon Sep 17 00:00:00 2001
From: Chris Hines <chris.hines@monash.edu>
Date: Fri, 21 Apr 2017 15:38:30 +1000
Subject: [PATCH] add a flag to nvidia-xconfig because it is not inputing
 busids for the m3f class nodes

---
 roles/gpu/tasks/main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/gpu/tasks/main.yml b/roles/gpu/tasks/main.yml
index 46b8a0a9..25a60ebd 100644
--- a/roles/gpu/tasks/main.yml
+++ b/roles/gpu/tasks/main.yml
@@ -136,7 +136,7 @@
   become_user: root
 
 - name: Configure xorg.conf with nvidia-xconfig so xorg.conf matches gpu number
-  shell: /usr/bin/nvidia-xconfig -a --use-display-device=none
+  shell: /usr/bin/nvidia-xconfig -a --use-display-device=none --preserve-busid
   become: true
   become_user: root
   args: 
-- 
GitLab