Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
virtualisation/hyperv-image: remove diskImage after vhdx is generated #88470
Motivation for this change
Remove the baseImage after the VHDX is generated.
I simply copied the approach taken here
This was discovered when implementing nix-community/nixos-generators#53
This PR solves two issues:
These are quite large, even with a bare-bones configuration
Previously, the base image we were converting would be printed upon image generation.