rpi: tweak k3s
This commit is contained in:
parent
2f68bb1d54
commit
a464a797a8
|
@ -88,7 +88,7 @@
|
||||||
# ExecStartPre = /bin/sh - xc '! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service 2>/dev/null';
|
# ExecStartPre = /bin/sh - xc '! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service 2>/dev/null';
|
||||||
# ExecStartPre = -/sbin/modprobe br_netfilter;
|
# ExecStartPre = -/sbin/modprobe br_netfilter;
|
||||||
# ExecStartPre = -/sbin/modprobe overlay;
|
# ExecStartPre = -/sbin/modprobe overlay;
|
||||||
ExecStart = "${pkgs.k3s}/bin/k3s server";
|
ExecStart = "${pkgs.k3s}/bin/k3s server --write-kubeconfig-mode";
|
||||||
};
|
};
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
wants = [ "network-online.target" ];
|
wants = [ "network-online.target" ];
|
||||||
|
|
Loading…
Reference in New Issue