Skip to content

Commit

Permalink
Allow QEMU monitor access from GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
amezin committed Feb 23, 2025
1 parent df070ca commit 66d5f23
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion alpine-3.18.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source "qemu" "alpine318" {
memory = 4096
headless = var.headless
shutdown_command = "/sbin/poweroff"
qmp_enable = true
qmp_enable = var.headless
disk_discard = "unmap"
http_content = {
"/alpine-answer.sh" = templatefile("${path.root}/alpine-answer.sh", { path = path, hostname = "alpine318" })
Expand Down
2 changes: 1 addition & 1 deletion alpine-3.19.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source "qemu" "alpine319" {
memory = 4096
headless = var.headless
shutdown_command = "/sbin/poweroff"
qmp_enable = true
qmp_enable = var.headless
disk_discard = "unmap"
http_content = {
"/alpine-answer.sh" = templatefile("${path.root}/alpine-answer.sh", { path = path, hostname = "alpine319" })
Expand Down
2 changes: 1 addition & 1 deletion alpine-3.20.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source "qemu" "alpine320" {
memory = 4096
headless = var.headless
shutdown_command = "/sbin/poweroff"
qmp_enable = true
qmp_enable = var.headless
disk_discard = "unmap"
http_content = {
"/alpine-answer.sh" = templatefile("${path.root}/alpine-answer.sh", { path = path, hostname = "alpine320" })
Expand Down
2 changes: 1 addition & 1 deletion alpine-3.21.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source "qemu" "alpine321" {
memory = 4096
headless = var.headless
shutdown_command = "/sbin/poweroff"
qmp_enable = true
qmp_enable = var.headless
disk_discard = "unmap"
http_content = {
"/alpine-answer.sh" = templatefile("${path.root}/alpine-answer.sh", { path = path, hostname = "alpine321" })
Expand Down
2 changes: 1 addition & 1 deletion debian-12.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source "qemu" "debian12" {
memory = 4096
headless = var.headless
shutdown_command = "shutdown -P now"
qmp_enable = true
qmp_enable = var.headless
disk_discard = "unmap"
http_content = {
"/debian-preseed.cfg" = templatefile("${path.root}/debian-preseed.cfg", { path = path, hostname = "debian12" })
Expand Down
2 changes: 1 addition & 1 deletion fedora-40.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source "qemu" "fedora40" {
memory = 4096
headless = var.headless
shutdown_command = "sudo shutdown -P now"
qmp_enable = true
qmp_enable = var.headless
disk_discard = "unmap"
http_content = {
"/fedora.ks" = templatefile("${path.root}/fedora.ks", { path = path, hostname = "fedora40" })
Expand Down
2 changes: 1 addition & 1 deletion fedora-41.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source "qemu" "fedora41" {
memory = 4096
headless = var.headless
shutdown_command = "sudo shutdown -P now"
qmp_enable = true
qmp_enable = var.headless
disk_discard = "unmap"
http_content = {
"/fedora.ks" = templatefile("${path.root}/fedora.ks", { path = path, hostname = "fedora41" })
Expand Down
2 changes: 1 addition & 1 deletion nixos.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ source "qemu" "nixos" {
memory = 4096
headless = var.headless
shutdown_command = "sudo shutdown -P now"
qmp_enable = true
qmp_enable = var.headless
disk_discard = "unmap"
ssh_timeout = "1h"
ssh_username = "root"
Expand Down
2 changes: 1 addition & 1 deletion opensuse-leap-15.6.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source "qemu" "opensuseleap156" {
memory = 4096
headless = var.headless
shutdown_command = "sudo /sbin/halt -h -p"
qmp_enable = true
qmp_enable = var.headless
disk_discard = "unmap"
http_content = {
"/opensuse.xml" = templatefile("${path.root}/opensuse.xml", { path = path, hostname = "opensuseleap156", product = "Leap" })
Expand Down
2 changes: 1 addition & 1 deletion opensuse-tumbleweed.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ source "qemu" "opensusetumbleweed" {
memory = 4096
headless = var.headless
shutdown_command = "sudo /sbin/halt -h -p"
qmp_enable = true
qmp_enable = var.headless
disk_discard = "unmap"
http_content = {
"/opensuse.xml" = templatefile("${path.root}/opensuse.xml", { path = path, hostname = "opensusetumbleweed", product = "openSUSE" })
Expand Down
2 changes: 1 addition & 1 deletion silverblue-40.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source "qemu" "silverblue40" {
memory = 4096
headless = var.headless
shutdown_command = "sudo shutdown -P now"
qmp_enable = true
qmp_enable = var.headless
disk_discard = "unmap"
http_content = {
"/silverblue.ks" = templatefile("${path.root}/silverblue.ks", { path = path, hostname = "silverblue40", version = "40" })
Expand Down
2 changes: 1 addition & 1 deletion silverblue-41.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source "qemu" "silverblue41" {
memory = 4096
headless = var.headless
shutdown_command = "sudo shutdown -P now"
qmp_enable = true
qmp_enable = var.headless
disk_discard = "unmap"
http_content = {
"/silverblue.ks" = templatefile("${path.root}/silverblue.ks", { path = path, hostname = "silverblue41", version = "41" })
Expand Down
2 changes: 1 addition & 1 deletion ubuntu-22.04.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source "qemu" "ubuntu2204" {
memory = 4096
headless = var.headless
shutdown_command = "sudo shutdown -P now"
qmp_enable = true
qmp_enable = var.headless
disk_discard = "unmap"
http_content = {
"/ubuntu-22.04-autoinstall.yml" = templatefile("${path.root}/ubuntu-22.04-autoinstall.yml", { path = path, hostname = "ubuntu2204" })
Expand Down
2 changes: 1 addition & 1 deletion ubuntu-24.04.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source "qemu" "ubuntu2404" {
memory = 4096
headless = var.headless
shutdown_command = "sudo shutdown -P now"
qmp_enable = true
qmp_enable = var.headless
disk_discard = "unmap"
http_content = {
"/ubuntu-autoinstall.yml" = templatefile("${path.root}/ubuntu-autoinstall.yml", { path = path, hostname = "ubuntu2404" })
Expand Down
2 changes: 1 addition & 1 deletion ubuntu-24.10.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source "qemu" "ubuntu2410" {
memory = 4096
headless = var.headless
shutdown_command = "sudo shutdown -P now"
qmp_enable = true
qmp_enable = var.headless
disk_discard = "unmap"
http_content = {
"/ubuntu-autoinstall.yml" = templatefile("${path.root}/ubuntu-autoinstall.yml", { path = path, hostname = "ubuntu2410" })
Expand Down

0 comments on commit 66d5f23

Please sign in to comment.