nixos: fix linux containers (systemd-nspawn, lxc, lxc-libvirt)
- Make dhcp work, use dhcpcd without udev in container - Make login shell work, patch getty to not wait for /dev/tty0 - Make ssh work, sshd/pam do not start session
This commit is contained in:
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
installFlags = "DBDIR=\${TMPDIR}/db SYSCONFDIR=$(out)/etc";
|
||||
|
||||
# Check that the udev plugin got built.
|
||||
postInstall = "[ -e $out/lib/dhcpcd/dev/udev.so ]";
|
||||
postInstall = stdenv.lib.optional (udev != null) "[ -e $out/lib/dhcpcd/dev/udev.so ]";
|
||||
|
||||
meta = {
|
||||
description = "A client for the Dynamic Host Configuration Protocol (DHCP)";
|
||||
|
||||
Reference in New Issue
Block a user