Anyone here has been able to successfully build CentOS 9 Stream for Maas using packer? Below is the error that I am getting. I am unsure if this is completely unsupported at the moment or am I doing something incorrect with the build.
2023/05/08 21:00:37 [INFO] (telemetry) Starting post-processor shell-local
==> qemu.centos9-stream: Running post-processor: (type shell-local)
2023/05/08 21:00:37 packer-post-processor-shell-local plugin: [INFO] (shell-local): Prepending inline script with #!/bin/bash -e
==> qemu.centos9-stream (shell-local): Running local shell script: /tmp/packer-shell726199497
2023/05/08 21:00:37 packer-post-processor-shell-local plugin: [INFO] (shell-local): starting local command: /bin/sh -c PACKER_BUILDER_TYPE=âqemuâ PACKER_BUILD_NAME=âcentos9-streamâ PACKER_HTTP_ADDR=â10.0.2.2:8814â PACKER_HTTP_IP=â10.0.2.2â PACKER_HTTP_PORT=â8814â /tmp/packer-shell726199497
2023/05/08 21:00:37 packer-post-processor-shell-local plugin: [INFO] (shell-local communicator): Executing local shell command [/bin/sh -c PACKER_BUILDER_TYPE=âqemuâ PACKER_BUILD_NAME=âcentos9-streamâ PACKER_HTTP_ADDR=â10.0.2.2:8814â PACKER_HTTP_IP=â10.0.2.2â PACKER_HTTP_PORT=â8814â /tmp/packer-shell726199497]
qemu.centos9-stream (shell-local): Loading nbdâŠ
qemu.centos9-stream (shell-local): Using /dev/nbd13
qemu.centos9-stream (shell-local): Binding image to /dev/nbd13âŠ
qemu.centos9-stream (shell-local): /dev/nbd13 disconnected
qemu.centos9-stream (shell-local): Waiting for partitions to be createdâŠ
qemu.centos9-stream (shell-local): Disk /dev/nbd13: 4 GiB, 4294967296 bytes, 8388608 sectors
qemu.centos9-stream (shell-local): Units: sectors of 1 * 512 = 512 bytes
qemu.centos9-stream (shell-local): Sector size (logical/physical): 512 bytes / 512 bytes
qemu.centos9-stream (shell-local): I/O size (minimum/optimal): 512 bytes / 512 bytes
qemu.centos9-stream (shell-local): Mounting root partitionâŠ
==> qemu.centos9-stream (shell-local): mount: /tmp/packer-maas-7UEm: special device /dev/nbd13p1 does not exist.
==> qemu.centos9-stream (shell-local): umount: /tmp/packer-maas-7UEm: not mounted.
2023/05/08 21:01:37 packer-post-processor-shell-local plugin: error: Script exited with non-zero exit status: 32. Allowed exit codes are: [0]
2023/05/08 21:01:37 [INFO] (telemetry) ending shell-local
2023/05/08 21:01:37 Deleting original artifact for build âqemu.centos9-streamâ
- Post-processor failed: Script exited with non-zero exit status: 32. Allowed exit codes are: [0]
Build âqemu.centos9-streamâ errored after 6 minutes 3 seconds: 1 error(s) occurred:
==> Wait completed after 6 minutes 3 seconds
2023/05/08 21:01:37 machine readable: error-count []string{â1â}
==> Some builds didnât complete successfully and had errors:
2023/05/08 21:01:37 machine readable: qemu.centos9-stream,error []string{â1 error(s) occurred:\n\n* Post-processor failed: Script exited with non-zero exit status: 32. Allowed exit codes are: [0]â}
- Post-processor failed: Script exited with non-zero exit status: 32. Allowed exit codes are: [0]
==> Wait completed after 6 minutes 3 seconds
- Post-processor failed: Script exited with non-zero exit status: 32. Allowed exit codes are: [0]
==> Builds finished but no artifacts were created.
2023/05/08 21:01:37 [INFO] (telemetry) Finalizing.
==> Some builds didnât complete successfully and had errors:
â> qemu.centos9-stream: 1 error(s) occurred:
- Post-processor failed: Script exited with non-zero exit status: 32. Allowed exit codes are: [0]
==> Builds finished but no artifacts were created.
2023/05/08 21:01:37 waiting for all plugin processes to completeâŠ
2023/05/08 21:01:37 /root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.9_x5.0_linux_amd64: plugin process exited
2023/05/08 21:01:37 /usr/bin/packer: plugin process exited
make: *** [Makefile:8: centos9-stream.tar.gz] Error 1