mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
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;
|
||||
diskSize = cfg.baseImageSize;
|
||||
|
||||
configFile = pkgs.writeText "configuration.nix"
|
||||
''
|
||||
{
|
||||
imports = [ <nixpkgs/nixos/modules/virtualisation/virtualbox-image.nix> ];
|
||||
}
|
||||
'';
|
||||
|
||||
postVM =
|
||||
''
|
||||
echo "creating VirtualBox disk image..."
|
||||
|
Loading…
Reference in New Issue
Block a user