Skip to content
Unverified Commit a6afdbb7 authored by Michael Weiss's avatar Michael Weiss
Browse files

nixos: Allow empty hostnames again

This fixes a regression from 993baa58 which requires
networking.hostName to be a valid DNS label [0].
Unfortunately we missed the fact that the hostnames may also be empty,
if the user wants to obtain it from a DHCP server. This is even required
by a few modules/images (e.g. Amazon EC2, Azure, and Google Compute).

[0]: https://github.com/NixOS/nixpkgs/pull/76542#issuecomment-638138666
parent 86a8c3f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment