diff --git a/lxd.dnsmasq b/lxd.dnsmasq index f2cbf8f..e4461bc 100644 --- a/lxd.dnsmasq +++ b/lxd.dnsmasq @@ -1,5 +1,8 @@ +# WARNING: DO NOT MODIFY THIS FILE. +# Changes to this file will be lost when the lxd package is updated or removed. +# Instead, add changes to /etc/dnsmasq.d/. + # Tell any system-wide dnsmasq instance to make sure to bind to interfaces # instead of listening on 0.0.0.0. -# WARNING: changes to this file will get lost if lxd is removed. bind-interfaces except-interface=lxdbr0 diff --git a/lxd.spec b/lxd.spec index 400079f..b38d163 100644 --- a/lxd.spec +++ b/lxd.spec @@ -293,8 +293,8 @@ grep -q '^root:' /etc/subgid || \ %dir %{_localstatedir}/lib/%{name} %dir %{_localstatedir}/log/%{name} -%config %{_sysctldir}/60-lxd.conf -%config %{_sysconfdir}/dnsmasq.d/60-lxd.conf +%{_sysctldir}/60-lxd.conf +%{_sysconfdir}/dnsmasq.d/60-lxd.conf %files bash-completion %defattr(-,root,root) diff --git a/lxd.sysctl b/lxd.sysctl index ddc2a1a..0bf91f6 100644 --- a/lxd.sysctl +++ b/lxd.sysctl @@ -1,3 +1,7 @@ +# WARNING: DO NOT MODIFY THIS FILE. +# Changes to this file will be lost when the lxd package is updated or removed. +# Instead, add changes to /etc/sysctl.d/. + # These defaults come from doc/production-setup.md, but have been slightly # modified to be less extreme. The recommended value is included as a comment # below each changed value.