kubernetes module: kubelet add git and ssh to path

This commit is contained in:
Jaka Hudoklin 2015-11-16 15:19:07 +01:00
parent 88f5cfc126
commit dd1f8b2693

View File

@ -512,6 +512,7 @@ in {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
requires = ["kubernetes-setup.service"]; requires = ["kubernetes-setup.service"];
after = [ "network-interfaces.target" "etcd.service" "docker.service" ]; after = [ "network-interfaces.target" "etcd.service" "docker.service" ];
path = [ pkgs.gitMinimal pkgs.openssh ];
script = '' script = ''
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:$PATH" export PATH="/bin:/sbin:/usr/bin:/usr/sbin:$PATH"
exec ${cfg.package}/bin/kubelet \ exec ${cfg.package}/bin/kubelet \