diff options
author | Jean-François Roche <jfroche@pyxel.be> | 2023-04-25 13:33:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-25 13:33:29 +0200 |
commit | 25671114cd9266e27b2609d94babdc66f52357a6 (patch) | |
tree | 2c3f408c51548552779bd8cf64417e28effb4706 /nixos/modules/services/system | |
parent | c1e467b13c66c71a00e7fd12bcd168be32d55cb2 (diff) | |
download | nixlib-25671114cd9266e27b2609d94babdc66f52357a6.tar nixlib-25671114cd9266e27b2609d94babdc66f52357a6.tar.gz nixlib-25671114cd9266e27b2609d94babdc66f52357a6.tar.bz2 nixlib-25671114cd9266e27b2609d94babdc66f52357a6.tar.lz nixlib-25671114cd9266e27b2609d94babdc66f52357a6.tar.xz nixlib-25671114cd9266e27b2609d94babdc66f52357a6.tar.zst nixlib-25671114cd9266e27b2609d94babdc66f52357a6.zip |
cloud-init: add udhcpc support (#226216)
* cloud-init: 22.4 -> 23.1.1 * cloud-init: add udhcpc support Cloud-init use as dhcp client, dhclient, which is coming from the unmaintained package, isc-dhcp-client (refer https://www.isc.org/dhcp/) which ended support in 2022. dhclient is deprecated in nixos Add patch to use `udhcpc` dhcp client coming from busybox instead. PR based on #226173 refs #215571 upstream PR: https://github.com/canonical/cloud-init/pull/2125
Diffstat (limited to 'nixos/modules/services/system')
-rw-r--r-- | nixos/modules/services/system/cloud-init.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/system/cloud-init.nix b/nixos/modules/services/system/cloud-init.nix index d75070dea434..82506596bc7f 100644 --- a/nixos/modules/services/system/cloud-init.nix +++ b/nixos/modules/services/system/cloud-init.nix @@ -10,6 +10,7 @@ let cfg = config.services.cloud-init; openssh shadow util-linux + busybox ] ++ optional cfg.btrfs.enable btrfs-progs ++ optional cfg.ext4.enable e2fsprogs ; |