diff --git a/site/profile/manifests/gpu.pp b/site/profile/manifests/gpu.pp index 2751d5548..d077eac51 100644 --- a/site/profile/manifests/gpu.pp +++ b/site/profile/manifests/gpu.pp @@ -171,7 +171,7 @@ ) { exec { 'vgpu-driver-install-bin': - command => "curl -L ${source} -o /tmp/NVIDIA-driver.run && sh /tmp/NVIDIA-driver.run --ui=none --no-questions --disable-nouveau; rm /tmp/NVIDIA-driver.run", + command => "curl -L ${source} -o /tmp/NVIDIA-driver.run && sh /tmp/NVIDIA-driver.run --ui=none --no-questions --disable-nouveau && rm /tmp/NVIDIA-driver.run", path => ['/bin', '/usr/bin', '/sbin','/usr/sbin'], creates => [ '/usr/bin/nvidia-smi',