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:
parent
c4dc998b69
commit
58db7f508f
@ -29,13 +29,6 @@ in {
|
|||||||
partitioned = true;
|
partitioned = true;
|
||||||
diskSize = cfg.baseImageSize;
|
diskSize = cfg.baseImageSize;
|
||||||
|
|
||||||
configFile = pkgs.writeText "configuration.nix"
|
|
||||||
''
|
|
||||||
{
|
|
||||||
imports = [ <nixpkgs/nixos/modules/virtualisation/virtualbox-image.nix> ];
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
|
|
||||||
postVM =
|
postVM =
|
||||||
''
|
''
|
||||||
echo "creating VirtualBox disk image..."
|
echo "creating VirtualBox disk image..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user