nixos/flannel: pkgs.etcdctl -> pkgs.etcd

The package has been renamed in 2018-04-25.
This commit is contained in:
rnhmjoj 2021-09-22 09:27:22 +02:00
parent 1f826a7164
commit 3f10924949
No known key found for this signature in database
GPG Key ID: BFBAF4C975F76450

View File

@ -164,7 +164,7 @@ in {
path = [ pkgs.iptables ];
preStart = optionalString (cfg.storageBackend == "etcd") ''
echo "setting network configuration"
until ${pkgs.etcdctl}/bin/etcdctl set /coreos.com/network/config '${builtins.toJSON networkConfig}'
until ${pkgs.etcd}/bin/etcdctl set /coreos.com/network/config '${builtins.toJSON networkConfig}'
do
echo "setting network configuration, retry"
sleep 1