New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove sd-base and debian-12-minimal template #1008
Comments
I have a few thoughts that may be what you had in mind for discussion:
So I guess I see this as a bigger issue of:
I's a valid point you're making that this isn't a sensible use of disk space. The more I think about it, the more we make progress on our other provisioning goals, the easier it will be to get to a place where we could implement this and still feel confident about system state. But I'm very curious your thoughts :) |
Totally. Even with my changes, every time there is a migration it will be downloaded again. I have a few short-term suggestions and some longer-term one. Short-term:
In the long term (alternative ideas):
You are right. However, this introduces its own challenges. When Debian 13 comes along the user may have already downloaded it and played around and when the next workstation version comes along, we'll just use that as the base, thus tainting the workstation. Before then, we should have a more sustainable solution.
I see where you're going and it does make sense. I think the issue why this happens is because the sd-template bootstrapping feels a bit more imperative than declarative. We're stating how the template is created, not just that it exists and its composition. However, as I mentioned above, there will be a time in the future where we need to obtain / use a new version of the default templates and then this won't be considered an initial provisioning yet it will still need to run. So I think we can split the salt provisioning, just not necessarily a long the lines of first and subsequent salt runs. |
Description
sd-base-bookworm-template
as well as debian-12-minimal remain after installing SDW. This leads to unnecessary space (32GB as of April 2024).Steps to Reproduce
make dev
Expected Behavior
No base template.
Actual Behavior
sd-base-bookworm-template
still present.Comments
The text was updated successfully, but these errors were encountered: