enhancement(host): modprobe@ and resolvconf-pull-resolved services are restarted when a machine is started
By default, systemd don't want to (re)start too quickly. This make unecessary errors in log. close #1
This commit is contained in:
parent
21c86b0e97
commit
cc533f69bb
4 changed files with 10 additions and 0 deletions
|
@ -24,6 +24,12 @@
|
|||
<file engine="ansible">/etc/sysctl.d/90-risotto.conf</file>
|
||||
<file engine="ansible" file_type="variable" source="dhcp.network" variable="interface_names">host_network_filename</file>
|
||||
</service>
|
||||
<service name="modprobe@">
|
||||
<override/>
|
||||
</service>
|
||||
<service name="resolvconf-pull-resolved">
|
||||
<override/>
|
||||
</service>
|
||||
<service name="vector" servicelist="vector">
|
||||
<file engine="ansible">/etc/vector/vector.toml</file>
|
||||
</service>
|
||||
|
|
2
seed/host-systemd-machined/templates/modprobe@.service
Normal file
2
seed/host-systemd-machined/templates/modprobe@.service
Normal file
|
@ -0,0 +1,2 @@
|
|||
[Unit]
|
||||
StartLimitIntervalSec=0
|
|
@ -0,0 +1,2 @@
|
|||
[Unit]
|
||||
StartLimitIntervalSec=0
|
Loading…
Reference in a new issue