1
0
mirror of https://github.com/rancher/os.git synced 2025-09-02 23:34:57 +00:00
* Downgrade system-docker to 17.06.107 (last version before rename)
* Use Docker 24.0.9 by default. 25.0.3 available as alternative.
* Buildroot 2023.02.10
* Kernel 5.10.211
* Always generate dhcpd.conf (not only with Wi-Fi)
* Support user Docker "data_root" configuration
This commit is contained in:
Olli Janatuinen
2024-03-05 12:21:58 +00:00
parent 8a9e14f887
commit ab3f7a0b49
14 changed files with 58 additions and 50 deletions

View File

@@ -63,10 +63,12 @@ func ApplyNetworkConfig(cfg *config.CloudConfig) {
cfg.Rancher.Network.DHCPTimeout = cfg.Rancher.Defaults.Network.DHCPTimeout
}
// Always generate dhcpcd.conf to support NTP and hostname configuration coming from DHCP
generateDhcpcdFiles(cfg)
// In order to handle the STATIC mode in Wi-Fi network, we have to update the dhcpcd.conf file.
// https://wiki.archlinux.org/index.php/dhcpcd#Static_profile
if len(cfg.Rancher.Network.WifiNetworks) > 0 {
generateDhcpcdFiles(cfg)
generateWpaFiles(cfg)
}