Skip to content

Commit 85447b8

Browse files
authored
Update centos10.pkr.hcl
1 parent 29309eb commit 85447b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

centos10.pkr.hcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ variable "version" {
7575

7676
source "qemu" "centos10" {
7777
accelerator = "kvm"
78-
boot_command = ["<up>e", "<down><down><end>", " inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/http/${var.config_file}", "<leftCtrlOn>x<leftCtrlOff>"]
78+
boot_command = ["<up><wait>", "e", "<down><down><down><left>", " console=ttyS0 inst.cmdline inst.text inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/http/${var.config_file} <f10>"]
7979
disk_cache = "none"
8080
disk_compression = true
8181
disk_discard = "unmap"
@@ -114,4 +114,4 @@ build {
114114
environment_vars = ["IMAGE_NAME=${var.name}", "IMAGE_VERSION=${var.version}", "DESTINATION_SERVER=${var.destination_server}"]
115115
script = "scripts/push-image.sh"
116116
}
117-
}
117+
}

0 commit comments

Comments
 (0)