Skip to content

Commit

Permalink
fix: debian boot delay (#835)
Browse files Browse the repository at this point in the history
Sets `vm_boot_order` = "-" to clear the boot order and remove the boot delay on Debian.

Signed-off-by: Ryan Johnson <[email protected]>
  • Loading branch information
tenthirtyam committed Feb 12, 2024
1 parent f97f381 commit 124a49b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion builds/linux/debian/11/linux-debian.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ iso_path = "iso/linux/debian"
iso_file = "debian-11.8.0-amd64-netinst.iso"

// Boot Settings
vm_boot_order = "disk,cdrom"
vm_boot_order = "-"
vm_boot_wait = "5s"

// Communicator Settings
Expand Down
2 changes: 1 addition & 1 deletion builds/linux/debian/11/variables.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ variable "common_http_port_max" {
variable "vm_boot_order" {
type = string
description = "The boot order for virtual machines devices."
default = "disk,cdrom"
default = "-"
}

variable "vm_boot_wait" {
Expand Down
2 changes: 1 addition & 1 deletion builds/linux/debian/12/linux-debian.pkrvars.hcl.example
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ iso_path = "iso/linux/debian"
iso_file = "debian-12.4.0-amd64-netinst.iso"

// Boot Settings
vm_boot_order = "disk,cdrom"
vm_boot_order = "-"
vm_boot_wait = "5s"

// Communicator Settings
Expand Down
2 changes: 1 addition & 1 deletion builds/linux/debian/12/variables.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ variable "common_http_port_max" {
variable "vm_boot_order" {
type = string
description = "The boot order for virtual machines devices."
default = "disk,cdrom"
default = "-"
}

variable "vm_boot_wait" {
Expand Down

0 comments on commit 124a49b

Please sign in to comment.