11 lines
266 B
Text
11 lines
266 B
Text
# /etc/systemd/system/k3s.service.d/wait-wg0.conf
|
|
# (or k3s-agent.service.d/ on worker nodes)
|
|
#
|
|
# Ensures k3s waits for wg0 before starting flannel.
|
|
|
|
[Unit]
|
|
After=wg-quick@wg0.service
|
|
Wants=wg-quick@wg0.service
|
|
|
|
[Service]
|
|
ExecStartPre=/usr/local/bin/wait-for-wg0.sh
|