Refactor Debian 13 Trixie Packer templates for LUKS support
- Removed obsolete variable files: variables-common.pkr.hcl and variables.pkr.hcl. - Updated debian-trixie.pkr.hcl to include local values for LUKS configuration. - Modified boot command to include LUKS arguments based on the enable_luks variable. - Enhanced initial-setup.sh to support LUKS detection and resizing. - Replaced preseed.cfg with preseed.cfg.pkrtpl for dynamic LUKS configuration. - Added enable_luks variable to control LUKS encryption during image build. - Introduced luks.pkrvars.hcl for LUKS-specific variable settings. - Updated mise.toml to support new variable file argument for Packer builds.
This commit is contained in:
parent
e57f2d977b
commit
eded7180dc
20 changed files with 281 additions and 2445 deletions
6
debian/13-trixie/variables.pkr.hcl
vendored
6
debian/13-trixie/variables.pkr.hcl
vendored
|
|
@ -59,7 +59,11 @@ variable "install_finished_inform_port" {
|
|||
description = "The server port to inform when installation is finished"
|
||||
}
|
||||
|
||||
|
||||
variable "enable_luks" {
|
||||
type = bool
|
||||
default = false
|
||||
description = "Build Debian with LUKS encrypted root storage."
|
||||
}
|
||||
|
||||
# local values
|
||||
local "timestamp" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue