Skip to content

Commit c159ce1

Browse files
authored
Merge pull request #10 from hgl/dhcp
fix(vm-image): force sending mac address as the dhcp client id
2 parents 918ea1d + 1ce95dc commit c159ce1

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

pkgs/vm-image/image-config.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,12 @@ in
4949
extension = "img";
5050
};
5151

52-
networking.hostName = lib.mkForce vmHostName;
52+
networking = {
53+
hostName = lib.mkForce vmHostName;
54+
dhcpcd.extraConfig = lib.mkForce ''
55+
clientid ""
56+
'';
57+
};
5358

5459
nix = {
5560
channel.enable = false;

0 commit comments

Comments
 (0)