lib/lxc-container: disable DHCP globablly
It is still configured for eth0.
This commit is contained in:
parent
ca44a44ede
commit
7388f51d55
|
@ -9,7 +9,7 @@
|
||||||
nix.useSandbox = false;
|
nix.useSandbox = false;
|
||||||
nix.maxJobs = lib.mkDefault 1;
|
nix.maxJobs = lib.mkDefault 1;
|
||||||
nix.buildCores = lib.mkDefault 4;
|
nix.buildCores = lib.mkDefault 4;
|
||||||
#networking.useNetworkd = true;
|
networking.useDHCP = false;
|
||||||
|
|
||||||
networking.interfaces.eth0 = {
|
networking.interfaces.eth0 = {
|
||||||
useDHCP = true;
|
useDHCP = true;
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
# Create a few files early before packing tarball for Proxmox
|
# Create a few files early before packing tarball for Proxmox
|
||||||
# architecture/OS detection.
|
# architecture/OS detection.
|
||||||
system.extraSystemBuilderCmds =
|
system.extraSystemBuilderCmds =
|
||||||
''
|
''
|
||||||
mkdir -m 0755 -p $out/bin
|
mkdir -m 0755 -p $out/bin
|
||||||
ln -s ${pkgs.bash}/bin/bash $out/bin/sh
|
ln -s ${pkgs.bash}/bin/bash $out/bin/sh
|
||||||
|
|
Loading…
Reference in New Issue