RHEL 9 packer maas image build

Hi @r00ta / @troyanov /all I am building an image in packer maas for rhel 9.5 with the rhel 9.5 iso file. When i start the build its not connecting to ssh. i dont how to proceed

root@ubuntu:~/packer-maas/rhel9# ls
http  Makefile  output-rhel9  README.md  rhel-9.4-x86_64-dvd.iso  rhel-9.5-x86_64-dvd.iso  rhel9.pkr.hcl  scripts  x86_64_VARS.fd

Error

==> qemu.rhel9: Not using a NetBridge -- skipping StepWaitGuestAddress 2025/12/19 11:57:55 Qemu stdout: 't', code 0x74, shift false
==> qemu.rhel9: Using SSH communicator to connect: 127.0.0.164 plugin: 2025/12/19 11:57:49 Sending char 't', code 0x74, shift false
2025/12/19 11:57:55 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/19 11:57:55 [INFO] Waiting for SSH, up to timeout: 30m0s
==> qemu.rhel9: Waiting for SSH to become available...ux_amd64 plugin: 2025/12/19 11:57:49 Sending char ':', code 0x3A, shift true
2025/12/19 11:57:55 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/19 11:57:55 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:2948: connect: connection refusedu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/19 11:57:50 Sending char '/', code 0x2F, shift false
2025/12/19 11:58:00 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/19 11:58:00 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:2948: connect: connection refusedu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/19 11:57:50 Sending char '0', code 0x30, shift false
2025/12/19 11:58:05 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/19 11:58:05 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:2948: connect: connection refusedu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/19 11:57:51 Sending char '0', code 0x30, shift false
2025/12/19 11:58:10 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/19 11:58:10 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:2948: connect: connection refusedu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/19 11:57:51 Sending char '2', code 0x32, shift false
2025/12/19 11:58:15 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/19 11:58:15 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:2948: connect: connection refusedu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/19 11:57:51 Sending char '2', code 0x32, shift false
2025/12/19 11:58:20 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/19 11:58:20 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:2948: connect: connection refusedu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/19 11:57:52 Sending char '8', code 0x38, shift false

I am not getting the anaconda loader as mentioned in How to build a RHEL 7 image - Docs - Canonical MAAS | Discourse. I can even access VNC where in vnc console i am getting stuck in inst.ks=http://ip:port/rhel9.ks

Please provide all the commands you are executing

packer init
PACKER_LOG=1 packer build -var 'rhel9_iso_path=/PATH/TO/rhel-baseos-9.0-x86_64-dvd.iso' .

This is the command i running to build the image

can you show us the complete execution log?

also, what are the versions of the host OS and Packer?

Host OS: Ubuntu 22.04
Packer-Maas Version:

root@ubuntu:~/packer-maas/rhel9# git describe --tags
v1.2.0-61-g8c1ab9d

Execution Logs:

root@ubuntu:~/packer-maas/rhel9# PACKER_LOG=1 packer build -var 'rhel9_iso_path=rhel-9.5-x86_64-dvd.iso' .
2025/12/22 10:04:16 [INFO] Packer version: 1.13.0 [go1.23.2 linux amd64]
2025/12/22 10:04:16 [INFO] PACKER_CONFIG env var not set; checking the default config file path
2025/12/22 10:04:16 [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2025/12/22 10:04:16 [WARN] Config file doesn't exist: /root/.packerconfig
2025/12/22 10:04:16 [INFO] Setting cache directory: /root/.cache/packer
2025/12/22 10:04:16 [TRACE] listing potential installations for "github.com/hashicorp/qemu" that match "~> 1.0". plugingetter.ListInstallationsOptions{P                                      luginDirectory:"/root/.config/packer/plugins", BinaryInstallationOptions:plugingetter.BinaryInstallationOptions{APIVersionMajor:"5", APIVersionMinor:"0"                                      , OS:"linux", ARCH:"amd64", Ext:"", Checksummers:[]plugingetter.Checksummer{plugingetter.Checksummer{Type:"sha256", Hash:(*sha256.digest)(0xc00084e000)}                                      }, ReleasesOnly:false}}
2025/12/22 10:04:16 [TRACE] Found the following "github.com/hashicorp/qemu" installations: [{/root/.config/packer/plugins/github.com/hashicorp/qemu/pack                                      er-plugin-qemu_v1.1.1_x5.0_linux_amd64 v1.1.1 x5.0}]
2025/12/22 10:04:16 [INFO] found external [-packer-default-plugin-name-] builders from qemu plugin
2025/12/22 10:04:16 [TRACE] listing potential installations for <nil> that match "". plugingetter.ListInstallationsOptions{PluginDirectory:"/root/.confi                                      g/packer/plugins", BinaryInstallationOptions:plugingetter.BinaryInstallationOptions{APIVersionMajor:"5", APIVersionMinor:"0", OS:"linux", ARCH:"amd64",                                       Ext:"", Checksummers:[]plugingetter.Checksummer{plugingetter.Checksummer{Type:"sha256", Hash:(*sha256.digest)(0xc00084e100)}}, ReleasesOnly:false}}
2025/12/22 10:04:16 [INFO] found external [-packer-default-plugin-name-] builders from qemu plugin
2025/12/22 10:04:16 [INFO] found external [-packer-default-plugin-name-] builders from docker plugin
2025/12/22 10:04:16 [INFO] found external [import push save tag] post-processors from docker plugin
2025/12/22 10:04:16 plugin "/root/.config/packer/plugins/github.com/hashicorp/docker/packer-plugin-docker_v1.1.1_x5.0_linux_amd64" does not support Prot                                      obuf, forcing use of Gob
2025/12/22 10:04:16 [TRACE] validateValue: not active for timeout, so skipping
2025/12/22 10:04:16 [TRACE] validateValue: not active for host_is_arm, so skipping
2025/12/22 10:04:16 [TRACE] validateValue: not active for ovmf_suffix, so skipping
2025/12/22 10:04:16 [TRACE] validateValue: not active for filename, so skipping
2025/12/22 10:04:16 [TRACE] validateValue: not active for rhel9_iso_path, so skipping
2025/12/22 10:04:16 [TRACE] validateValue: not active for ks_appstream_repos, so skipping
2025/12/22 10:04:16 [TRACE] validateValue: not active for ks_proxy, so skipping
2025/12/22 10:04:16 [TRACE] validateValue: not active for architecture, so skipping
2025/12/22 10:04:16 [TRACE] validateValue: not active for customize_script, so skipping
2025/12/22 10:04:16 [INFO] Starting external plugin /root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 st                                      art builder -packer-default-plugin-name-
2025/12/22 10:04:16 Starting plugin: /root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 []string{"/root/.                                      config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.1.1_x5.0_linux_amd64", "start", "builder", "-packer-default-plugin-name-"}
2025/12/22 10:04:16 Waiting for RPC address for: /root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.1.1_x5.0_linux_amd64
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 Plugin address: unix /tmp/packer-plugin979252766
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 Waiting for connection...
2025/12/22 10:04:16 Received unix RPC address for /root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.1.1_x5.0_linux_amd64: add                                      r is /tmp/packer-plugin979252766
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 Serving a plugin connection...
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 [TRACE] starting builder -packer-default-plugin-name-
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 [DEBUG] - common: sending ConfigSpec as gob
2025/12/22 10:04:16 [DEBUG] - common: receiving ConfigSpec as gob
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 use detected accelerator: kvm
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 [DEBUG] - common: sending ConfigSpec as gob
2025/12/22 10:04:16 [DEBUG] - common: receiving ConfigSpec as gob
2025/12/22 10:04:16 [INFO] Starting external plugin /usr/bin/packer execute packer-provisioner-shell
2025/12/22 10:04:16 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "execute", "packer-provisioner-shell"}
2025/12/22 10:04:16 Waiting for RPC address for: /usr/bin/packer
2025/12/22 10:04:16 packer-provisioner-shell plugin: [INFO] Packer version: 1.13.0 [go1.23.2 linux amd64]
2025/12/22 10:04:16 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2025/12/22 10:04:16 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2025/12/22 10:04:16 packer-provisioner-shell plugin: [WARN] Config file doesn't exist: /root/.packerconfig
2025/12/22 10:04:16 packer-provisioner-shell plugin: [INFO] Setting cache directory: /root/.cache/packer
2025/12/22 10:04:16 packer-provisioner-shell plugin: Plugin address: unix /tmp/packer-plugin1120433735
2025/12/22 10:04:16 packer-provisioner-shell plugin: Waiting for connection...
2025/12/22 10:04:16 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin1120433735
2025/12/22 10:04:16 packer-provisioner-shell plugin: Serving a plugin connection...
2025/12/22 10:04:16 packer-provisioner-shell plugin: [DEBUG] - common: sending ConfigSpec as gob
2025/12/22 10:04:16 [DEBUG] - common: receiving ConfigSpec as gob
2025/12/22 10:04:16 packer-provisioner-shell plugin: [DEBUG] - common: sending ConfigSpec as gob
2025/12/22 10:04:16 [DEBUG] - common: receiving ConfigSpec as gob
2025/12/22 10:04:16 [INFO] Starting external plugin /usr/bin/packer execute packer-post-processor-shell-local
2025/12/22 10:04:16 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "execute", "packer-post-processor-shell-local"}
2025/12/22 10:04:16 Waiting for RPC address for: /usr/bin/packer
2025/12/22 10:04:16 packer-post-processor-shell-local plugin: [INFO] Packer version: 1.13.0 [go1.23.2 linux amd64]
2025/12/22 10:04:16 packer-post-processor-shell-local plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2025/12/22 10:04:16 packer-post-processor-shell-local plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2025/12/22 10:04:16 packer-post-processor-shell-local plugin: [WARN] Config file doesn't exist: /root/.packerconfig
2025/12/22 10:04:16 packer-post-processor-shell-local plugin: [INFO] Setting cache directory: /root/.cache/packer
2025/12/22 10:04:16 packer-post-processor-shell-local plugin: Plugin address: unix /tmp/packer-plugin3113700611
2025/12/22 10:04:16 packer-post-processor-shell-local plugin: Waiting for connection...
2025/12/22 10:04:16 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin3113700611
2025/12/22 10:04:16 packer-post-processor-shell-local plugin: Serving a plugin connection...
2025/12/22 10:04:16 packer-post-processor-shell-local plugin: [DEBUG] - common: sending ConfigSpec as gob
2025/12/22 10:04:16 [DEBUG] - common: receiving ConfigSpec as gob
2025/12/22 10:04:16 packer-post-processor-shell-local plugin: [DEBUG] - common: sending ConfigSpec as gob
2025/12/22 10:04:16 [DEBUG] - common: receiving ConfigSpec as gob
a checksum is highly recommended.

  on rhel9.pkr.hcl line 87:
  (source code not available)

2025/12/22 10:04:16 Build debug mode: false
2025/12/22 10:04:16 Force build: false
2025/12/22 10:04:16 On error:
2025/12/22 10:04:16 Waiting on builds to complete...
Warning: A checksum of 'none' was specified. Since ISO files are so big,
2025/12/22 10:04:16 Starting build run: qemu.rhel9
2025/12/22 10:04:16 Running builder: qemu
a checksum is highly recommended.
2025/12/22 10:04:16 [INFO] (telemetry) Starting builder qemu.rhel9

  on rhel9.pkr.hcl line 87:
  (source code not available)


qemu.rhel9: output will be in this color.

2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 Qemu path: /usr/bin/qemu-system-x86_64, Qemu Image path: /usr                                      /bin/qemu-img
==> qemu.rhel9: Retrieving ISO
==> qemu.rhel9: Trying rhel-9.5-x86_64-dvd.iso
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 Acquiring lock for: rhel-9.5-x86_64-dvd.iso (/root/.cache/pac                                      ker/5f0e135cf98f767198b3a9253c1f0c2e0977c160.iso.lock)
==> qemu.rhel9: Trying rhel-9.5-x86_64-dvd.iso
==> qemu.rhel9: rhel-9.5-x86_64-dvd.iso => /root/packer-maas/rhel9/rhel-9.5-x86_64-dvd.iso
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 Leaving retrieve loop for ISO
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 No floppy files specified. Floppy disk will not be made.
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 No CD files specified. CD disk will not be made.
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 [INFO] Creating disk with Path: output-rhel9/packer-rhel9 and                                       Size: 35G
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 Executing qemu-img: []string{"create", "-f", "qcow2", "output                                      -rhel9/packer-rhel9", "35G"}
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 stdout: Formatting 'output-rhel9/packer-rhel9', fmt=qcow2 clu                                      ster_size=65536 extended_l2=off compression_type=zlib size=37580963840 lazy_refcounts=off refcount_bits=16
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 stderr:
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 Found available port: 8323 on IP: 0.0.0.0
==> qemu.rhel9: Starting HTTP server on port 8323
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 Looking for available communicator (SSH, WinRM, etc) port bet                                      ween 2222 and 4444
2025/12/22 10:04:16 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:16 Found available port: 4413 on IP: 0.0.0.0
==> qemu.rhel9: Found port for communicator (SSH, WinRM, etc): 4413.
==> qemu.rhel9: Creating temporary RSA SSH key for instance...
2025/12/22 10:04:20 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:20 Looking for available port between 5902 and 5902 on 0.0.0.0
==> qemu.rhel9: Looking for available port between 5902 and 5902 on 0.0.0.0
2025/12/22 10:04:20 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:20 Found available port: 5902 on IP: 0.0.0.0
2025/12/22 10:04:20 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:20 Found available VNC port: 5902 on IP: 0.0.0.0
2025/12/22 10:04:20 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:20 Qemu --version output: QEMU emulator version 6.2.0 (Debian 1:                                      6.2+dfsg-2ubuntu6.27)
2025/12/22 10:04:20 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
2025/12/22 10:04:20 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:20 Qemu version: 6.2.0
==> qemu.rhel9: Starting VM, booting from CD-ROM
==> qemu.rhel9: view the screen of the VM, connect via VNC without a password to
==> qemu.rhel9: vnc://0.0.0.0:5902
==> qemu.rhel9: The VM will be run headless, without a GUI. If you want to
2025/12/22 10:04:20 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:20 CPU count at default value, setting to topology maximum: 8
2025/12/22 10:04:20 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:20 Qemu Builder has no floppy files, not attaching a floppy.
==> qemu.rhel9: view the screen of the VM, connect via VNC without a password to
==> qemu.rhel9: vnc://0.0.0.0:5902
==> qemu.rhel9: Overriding default Qemu arguments with qemuargs template option...
2025/12/22 10:04:20 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:20 Executing /usr/bin/qemu-system-x86_64: []string{"-device", "q                                      emu-xhci", "-device", "usb-kbd", "-device", "virtio-net-pci,netdev=net0", "-device", "virtio-blk-pci,drive=drive0,bootindex=0", "-device", "virtio-blk-p                                      ci,drive=cdrom0,bootindex=1", "-device", "virtio-gpu-pci", "-netdev", "user,id=net0", "-machine", "accel=kvm", "-global", "driver=cfi.pflash01,property=                                      secure,value=off", "-name", "packer-rhel9", "-m", "4096M", "-smp", "8,cores=8", "-serial", "stdio", "-boot", "strict=off", "-cpu", "host", "-drive", "if                                      =pflash,format=raw,unit=0,id=ovmf_code,readonly=on,file=/usr/share/OVMF/OVMF_CODE.fd", "-drive", "if=pflash,format=raw,unit=1,id=ovmf_vars,file=x86_64_V                                      ARS.fd", "-drive", "file=output-rhel9/packer-rhel9,if=none,id=drive0,cache=writeback,discard=ignore,format=qcow2", "-drive", "file=rhel-9.5-x86_64-dvd.i                                      so,if=none,id=cdrom0,media=cdrom", "-vnc", "0.0.0.0:2"}
2025/12/22 10:04:20 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:20 Started Qemu. Pid: 1891981
==> qemu.rhel9: Waiting 2s for boot...
==> qemu.rhel9: Connecting to VM via VNC (0.0.0.0:5902)
2025/12/22 10:04:24 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:24 Connected to VNC desktop: QEMU (packer-rhel9)
==> qemu.rhel9: Typing the boot commands over VNC...
2025/12/22 10:04:24 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:24 Special code '<up>' found, replacing with: 0xFF52
2025/12/22 10:04:24 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:24 [INFO] Waiting 1s
2025/12/22 10:04:25 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:25 Sending char 'e', code 0x65, shift false
2025/12/22 10:04:25 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:25 Qemu stdout:
BdsDxe: failed to load Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x5,0x0): Not Found
2025/12/22 10:04:25 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:25 Qemu stdout: BdsDxe: loading Boot0003 "UEFI Misc Device 2" fr                                      om PciRoot(0x0)/Pci(0x6,0x0)
2025/12/22 10:04:25 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:25 Qemu stdout: BdsDxe: starting Boot0003 "UEFI Misc Device 2" f                                      rom PciRoot(0x0)/Pci(0x6,0x0)
2025/12/22 10:04:26 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:26 Special code '<down>' found, replacing with: 0xFF54
2025/12/22 10:04:26 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:26 Special code '<down>' found, replacing with: 0xFF54
2025/12/22 10:04:26 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:26 Qemu stdout:
































                               GRUB version 2.06
2025/12/22 10:04:26 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:26 Qemu stdout:
2▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒Ŀ/22 10:04:26 Special code '<down>' found, replacing with: 0xFF54
2▒ Install Red Hat Enterprise Linux 9.5                                       ▒ 2 10:04:26 Qemu stdout:
 ▒ Test this media & install Red Hat Enterprise Linux 9.5                     ▒
 ▒*Troubleshooting -->                                                        ▒
 ▒                                                                            ▒
 ▒                                                                            ▒
 ▒                                                                            ▒
 ▒                                                                            ▒
 ▒                                                                            ▒
 ▒                                                                            ▒
 ▒                                                                            ▒
 ▒                                                                            ▒
 ▒                                                                            ▒
 ▒                                                                            ▒
 ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒

      Use the ^ and v keys to select which entry is highlighted.
      Press enter to boot the selected OS, `e' to edit the commandsin: 2025/12/22 10:04:26 Qemu stdout:
2025/12/22 10:04:26 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:26 Special code '<left>' found, replacing with: 0xFF51
                                                                               22 10:04:26 Sending char ' ', code 0x20, shift false
                                                                               22 10:04:27 Sending char 'c', code 0x63, shift false
2025/12/22 10:04:27 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:27 Sending char 'o', code 0x6F, shift false
      before booting or `c' for a command-line.                           5/12/22 10:04:27 Qemu stdout:

                               GRUB version 2.06
2025/12/22 10:04:27 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:27 Qemu stdout:
2025/12/22 10:04:27 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:27 Sending char 'n', code 0x6E, shift false
   Minimal BASH-like line editing is supported. For the first word, TAB2025/12/22 10:04:27 Qemu stdout:
   lists possible command completions. Anywhere else TAB lists possible2025/12/22 10:04:27 Qemu stdout:
2025/12/22 10:04:27 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:27 Sending char 's', code 0x73, shift false
   device or file completions. ESC at any time exits.nux_amd64 plugin: 2025/12/22 10:04:27 Qemu stdout:
2025/12/22 10:04:27 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:27 Qemu stdout:
2025/12/22 10:04:27 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:27 Qemu stdout:
2025/12/22 10:04:27 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:27 Sending char 'o', code 0x6F, shift false
2025/12/22 10:04:28 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:28 Sending char 'l', code 0x6C, shift false
2025/12/22 10:04:28 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:28 Sending char 'e', code 0x65, shift false
2025/12/22 10:04:28 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:28 Sending char '=', code 0x3D, shift false
2025/12/22 10:04:28 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:28 Sending char 't', code 0x74, shift false
2025/12/22 10:04:28 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:28 Sending char 't', code 0x74, shift false
2025/12/22 10:04:29 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:29 Sending char 'y', code 0x79, shift false
2025/12/22 10:04:29 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:29 Sending char 'S', code 0x53, shift true
2025/12/22 10:04:29 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:29 Sending char '0', code 0x30, shift false
2025/12/22 10:04:29 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:29 Sending char ' ', code 0x20, shift false
2025/12/22 10:04:30 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:30 Sending char 'i', code 0x69, shift false
2025/12/22 10:04:30 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:30 Sending char 'n', code 0x6E, shift false
2025/12/22 10:04:30 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:30 Sending char 's', code 0x73, shift false
2025/12/22 10:04:30 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:30 Sending char 't', code 0x74, shift false
2025/12/22 10:04:30 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:30 Sending char '.', code 0x2E, shift false
2025/12/22 10:04:31 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:31 Sending char 'c', code 0x63, shift false
2025/12/22 10:04:31 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:31 Sending char 'm', code 0x6D, shift false
2025/12/22 10:04:31 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:31 Sending char 'd', code 0x64, shift false
2025/12/22 10:04:31 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:31 Sending char 'l', code 0x6C, shift false
2025/12/22 10:04:31 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:31 Sending char 'i', code 0x69, shift false
2025/12/22 10:04:32 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:32 Sending char 'n', code 0x6E, shift false
2025/12/22 10:04:32 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:32 Sending char 'e', code 0x65, shift false
2025/12/22 10:04:32 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:32 Sending char ' ', code 0x20, shift false
2025/12/22 10:04:32 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:32 Sending char 'i', code 0x69, shift false
2025/12/22 10:04:32 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:32 Sending char 'n', code 0x6E, shift false
2025/12/22 10:04:33 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:33 Sending char 's', code 0x73, shift false
2025/12/22 10:04:33 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:33 Sending char 't', code 0x74, shift false
2025/12/22 10:04:33 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:33 Sending char '.', code 0x2E, shift false
2025/12/22 10:04:33 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:33 Sending char 't', code 0x74, shift false
2025/12/22 10:04:33 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:33 Sending char 'e', code 0x65, shift false
2025/12/22 10:04:34 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:34 Sending char 'x', code 0x78, shift false
2025/12/22 10:04:34 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:34 Sending char 't', code 0x74, shift false
2025/12/22 10:04:34 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:34 Sending char ' ', code 0x20, shift false
2025/12/22 10:04:34 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:34 Sending char 'i', code 0x69, shift false
2025/12/22 10:04:34 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:34 Sending char 'n', code 0x6E, shift false
2025/12/22 10:04:35 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:35 Sending char 's', code 0x73, shift false
2025/12/22 10:04:35 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:35 Sending char 't', code 0x74, shift false
2025/12/22 10:04:35 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:35 Sending char '.', code 0x2E, shift false
2025/12/22 10:04:35 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:35 Sending char 'k', code 0x6B, shift false
2025/12/22 10:04:35 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:35 Sending char 's', code 0x73, shift false
2025/1onsole=ttyS0 inst.cmdline inst.text inst.ks=http://10.0.2.2:8323/rhel9.ks22 10:04:36 Sending char '=', code 0x3D, shift false
2025/12/22 10:04:42 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:42 Special code '<f10>' found, replacing with: 0xFFC7
2025/12/22 10:04:42 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:42 [INFO] Waiting for SSH, up to timeout: 30m0s
==> qemu.rhel9: Not using a NetBridge -- skipping StepWaitGuestAddress 2025/12/22 10:04:36 Sending char 't', code 0x74, shift false
==> qemu.rhel9: Using SSH communicator to connect: 127.0.0.164 plugin: 2025/12/22 10:04:36 Sending char 'p', code 0x70, shift false
==> qemu.rhel9: Waiting for SSH to become available...ux_amd64 plugin: 2025/12/22 10:04:37 Sending char ':', code 0x3A, shift true
2025/12/22 10:04:42 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:42 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.                                      0.1:4413: connect: connection refusedu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:37 Sending char '/', code 0x2F, shift false
2025/12/22 10:04:47 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:47 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.                                      0.1:4413: connect: connection refusedu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:38 Sending char '0', code 0x30, shift false
2025/12/22 10:04:52 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:52 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:4413: connect: connection refused
2025/12/22 10:04:57 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:04:57 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:4413: connect: connection refused
2025/12/22 10:05:02 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:05:02 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:4413: connect: connection refused
2025/12/22 10:05:07 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:05:07 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:4413: connect: connection refused
2025/12/22 10:05:13 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:05:13 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:4413: connect: connection refused
2025/12/22 10:05:18 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:05:18 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:4413: connect: connection refused
2025/12/22 10:05:23 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:05:23 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:4413: connect: connection refused
2025/12/22 10:05:28 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:05:28 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:4413: connect: connection refused
2025/12/22 10:05:33 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:05:33 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:4413: connect: connection refused
2025/12/22 10:05:38 packer-plugin-qemu_v1.1.1_x5.0_linux_amd64 plugin: 2025/12/22 10:05:38 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 127.0.0.1:4413: connect: connection refused