vsock ssh: set up UNKNOWN /etc/hosts in initrd too
This commit is contained in:
parent
33d33e745b
commit
0bebc13927
1 changed files with 3 additions and 0 deletions
|
|
@ -22,6 +22,9 @@ in
|
||||||
# https://mastodon.acm.org/@nobody/115108458851355328
|
# https://mastodon.acm.org/@nobody/115108458851355328
|
||||||
# https://github.com/linux-pam/linux-pam/issues/885#issuecomment-3030698895
|
# https://github.com/linux-pam/linux-pam/issues/885#issuecomment-3030698895
|
||||||
networking.hosts."100::" = [ "UNKNOWN" ];
|
networking.hosts."100::" = [ "UNKNOWN" ];
|
||||||
|
boot.initrd.extraFiles = lib.optionalAttrs config.boot.initrd.network.ssh.enable {
|
||||||
|
"/etc/hosts" = { inherit (config.environment.etc.hosts) source; };
|
||||||
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue