Packer Building sles15 image filed with qemu hangs booting from local disk

I try to use SLES 15 Packer Template for MAAS to build SLES 15(sp4|sp6)
The first time I changed the file name from sp6 to sp4, to satisfy building an image command.
Although it took nearly an hour, but finally succeeded.

But in order to modify http/sles15.xml and need to build it again, I encountered the problem of qemu hangs booting from local disk.

I tried re-git clone packer-mass, re-import sp4 images, sp6 images.

The one time I succeeded was based on the default headless:false, so I don’t know what the normal sles 15 with qemu behavior is.

But theimages are hangs booting from local disk…it’s obviously not normal for two hours.

Can anyone help? Thank you very much.

source:

It is passed after change the value of headless to false in sles.pkr.hcl.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.