File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ # https://yum.oracle.com/oracle-linux-templates.html
12efi_boot = false
2- iso_checksum = " 7f1cf4e1fafda55bb4d837d0eeb9592d60e896fa56565081fc4d8519c0a3fd1a "
3- iso_url = " https://yum.oracle.com/templates/OracleLinux/OL9/u4 /x86_64/OL9U4_x86_64 -kvm-b234 .qcow2"
3+ iso_checksum = " f1b8f0ca281570dda5e844485d6a300d1a13a629272ffdff4ec84bf56b76b1fc "
4+ iso_url = " https://yum.oracle.com/templates/OracleLinux/OL9/u5 /x86_64/OL9U5_x86_64 -kvm-b259 .qcow2"
45vm_name = " oracle-linux-9-bios-x86_64"
Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ variable "efi_firmware_vars" {
2222 default = null
2323}
2424
25+ variable "headless" {
26+ type = bool
27+ default = true
28+ }
29+
2530variable "ssh_username" {
2631 type = string
2732 default = " packer"
@@ -79,6 +84,7 @@ source "qemu" "oracle-linux" {
7984 disk_compression = true
8085 disk_image = true
8186 disk_size = " 42G"
87+ headless = var. headles
8288 iso_checksum = var. iso_checksum
8389 iso_url = var. iso_url
8490 qemuargs = [
You can’t perform that action at this time.
0 commit comments