Add support for Debian release

This commit is contained in:
2023-08-31 16:49:22 +00:00
parent 286d7aad44
commit ed0ab06d2c
5 changed files with 15 additions and 2 deletions

View File

@ -66,7 +66,7 @@ def add_preseed(config, cspec_node, host_macaddr, system_drive_target):
# We use the dhcp_address here to allow the listen_address to be 0.0.0.0
rendered = template.render(
debrelease=cspec_node.get("config", {}).get("release"),
debrelease=config.get("repo_release"),
debmirror=config.get("repo_mirror"),
addpkglist=add_packages,
filesystem=cspec_node.get("config", {}).get("filesystem"),