Skip to content

(nixos-install & nixos-enter) Chroot cannot resolve dns names #39665

@nlvw

Description

@nlvw

Issue description

After installing NixOS then using nixos-enter to chroot into the installation dns does not work. I am trying to clone down a repository but it fails because it cannot resolve github.com.

Here is a picture of the of some commands run inside the chrooted installation
capture

Bootstrap.sh being run to install and call the chrooted commands.
Configuration.nix being used

Steps to reproduce

  1. Boot a vm using one of the 18.03.132155.b50443b5c4a isos (UEFI Mode).
  2. Clone this repo and tree
  3. run bootstrap.sh
  4. select "test" machine (option 4) when prompted (this is setup for hyper-v so you may need to fix the hardware-configuration.nix back to the default one generated).
  5. Observer error after installation finishes

Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
capture2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions