File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 28
28
not_if { ::File . exist? ( '/usr/bin/nvidia-smi' ) }
29
29
end
30
30
31
-
32
- nvidia_install_command = "./nvidia.run --silent --dkms"
33
- if node [ 'platform' ] == 'ubuntu' && node [ 'platform_version' ] == "18.04"
34
- # temporary workaround to install Nvidia drier using dkms until this
35
- # https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1868169 get fixed
36
- nvidia_install_command = "#{ nvidia_install_command } --no-cc-version-check"
37
- end
38
31
# Install NVIDIA driver
39
32
bash 'nvidia.run advanced' do
40
33
user 'root'
41
34
group 'root'
42
35
cwd '/tmp'
43
36
code <<-NVIDIA
44
37
set -e
45
- #{ nvidia_install_command }
38
+ ./nvidia.run --silent --dkms
46
39
rm -f /tmp/nvidia.run
47
40
NVIDIA
48
41
creates '/usr/bin/nvidia-smi'
You can’t perform that action at this time.
0 commit comments