Add timer & service to reconfigure net interface due to buggy driver

This commit is contained in:
sonny 2023-08-12 19:37:33 +02:00
parent 83ad3362bd
commit 9b5e3eca08
3 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,9 @@
# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
#
[Unit]
Description=Service which reconfigures the `link1` interface as a temporary workaround for the buggy r8169 driver
[Service]
ExecStart=/usr/bin/networkctl reconfigure link1
Type=oneshot

View file

@ -0,0 +1,11 @@
# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
#
[Unit]
Description=Hourly service which reconfigures the `link1` network interface
[Timer]
OnCalendar=hourly
[Install]
WantedBy=timers.target