virtualbox-image: remove configFile to let clone-config do its job in demo

Fixes #13927
cc @edolstra

configFile in make-disk-image clashes with clone-config as the latter does
nothing if it finds a a /etc/nixos/configuration.nix during stage-2.
This commit is contained in:
obadz 2016-08-27 02:03:22 +01:00
parent c4dc998b69
commit 58db7f508f

View File

@ -29,13 +29,6 @@ in {
partitioned = true;
diskSize = cfg.baseImageSize;
configFile = pkgs.writeText "configuration.nix"
''
{
imports = [ <nixpkgs/nixos/modules/virtualisation/virtualbox-image.nix> ];
}
'';
postVM =
''
echo "creating VirtualBox disk image..."