[Nix-dev] using qemu virtual machine for testing software

Tomas Hlavaty tomas.hlavaty at knowledgetools.de
Fri Jul 29 10:07:27 CEST 2016


Hi Tomasz,

> I can't connect to forwarded port and I don't know how to connect/
> interact with the machine. Is there anyone who know how I could
> connect to this machine and would be willing to explain?

vm tests are not intended to be interactive, I think.

Instead, you can build the vm like:

NIXOS_CONFIG=vmconfig.nix nixos-rebuild build-vm

and then launch the qemu vm.

Tomas


More information about the nix-dev mailing list