Skip to content

Commit 63480b4

Browse files
Merge pull request #572 from shapeblue/fix-gpu-discovery-path
Fix path of GPU discovery script
2 parents bb9bf10 + 5b02517 commit 63480b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/adminguide/hosts.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ the host.
243243

244244
The cloudstack agent uses the ``gpudiscovery.sh`` script to discover the GPU
245245
devices on a KVM host. The script is located in the
246-
``/usr/share/cloudstack-common/scripts/vm/`` directory on the host. The script
246+
``/usr/share/cloudstack-common/scripts/vm/kvm/`` directory on the host. The script
247247
relies on the ``lspci`` & ``xmlstarlet`` command to discover the GPU devices
248248
and their status on the host. So, for the discovery to be successful, the
249249
``lspci`` & ``xmlstarlet`` should be installed on the host.
@@ -274,7 +274,7 @@ and their status on the host. So, for the discovery to be successful, the
274274

275275
.. parsed-literal::
276276
277-
sudo /usr/share/cloudstack-common/scripts/vm/gpudiscovery.sh
277+
sudo /usr/share/cloudstack-common/scripts/vm/kvm/gpudiscovery.sh
278278
279279
The script will output the GPU devices in a JSON found on the host. The operator
280280
can also update the script to customize the discovery of the GPU devices on the host.

0 commit comments

Comments
 (0)