Add %config directive to daemon.json for RPM installations

This prevents existing modifications to this file to be automatically
saved in a backup instead of overwritten.

Details here:
https://docs.fedoraproject.org/ro/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch09s05s03.html

Signed-off-by: Kevin Klues <kklues@nvidia.com>
This commit is contained in:
Kevin Klues 2020-07-08 19:28:37 +00:00
parent 11097a332a
commit a4b6214173

View file

@ -34,7 +34,7 @@ install -m 644 -t %{buildroot}/etc/docker daemon.json
%files
%license LICENSE
%{_bindir}/nvidia-docker
/etc/docker/daemon.json
%config /etc/docker/daemon.json
%changelog
* Wed Jul 08 2020 NVIDIA CORPORATION <cudatools@nvidia.com> 2.4.0-1