Re: [packer] Packer Qemu image has trouble running vm's

2016-11-17 Thread Muhammad Tameem Iftikhar
I also, used this repo to build an image and use that. Still the same issue, stuck on boot. https://gitlab.com/groenator/packer-build On Thursday, November 17, 2016 at 4:37:07 PM UTC-5, Alvaro Miranda Aguilera wrote: > > so something is causing issues on /boot > > what command are you using to

Re: [packer] Packer Qemu image has trouble running vm's

2016-11-17 Thread Muhammad Tameem Iftikhar
In my packer file i am using the following shutdown command to bring the vm down: "shutdown_command": "echo '{{user `ssh_pass`}}' | sudo -S shutdown -P now" I have also attached the packer json template that i am using for you to take a look at. On Thursday, November 17, 2016 at 4:37:07 PM

Re: [packer] Packer Qemu image has trouble running vm's

2016-11-17 Thread Alvaro Miranda Aguilera
so something is causing issues on /boot what command are you using to bring the VM down when you create it ? On Thu, Nov 17, 2016 at 10:35 PM, Muhammad Tameem Iftikhar < miftik...@surfeasy.com> wrote: > Hi, > > As far as the packer build is concerned there are no errors in the logs > and the ima

Re: [packer] Packer Qemu image has trouble running vm's

2016-11-17 Thread Muhammad Tameem Iftikhar
Hi, As far as the packer build is concerned there are no errors in the logs and the image creation process completes successfully. On boot the system gets stuck after the following logs in the screen shot Screen Shot 2016-11-17 at 4.34.10 PM In the syslogs i can see the dhcp request successf

Re: [packer] Packer Qemu image has trouble running vm's

2016-11-17 Thread Rickard von Essen
Can you share any logs, and debug info? On 17 November 2016 at 21:34, Muhammad Tameem Iftikhar < miftik...@surfeasy.com> wrote: > Hey Guys, currently trying to get packer to build a Qemu image for use > with KVM. I can successfully build a qcow2 image using packer and its only > the basic ubuntu

[packer] Packer Qemu image has trouble running vm's

2016-11-17 Thread Muhammad Tameem Iftikhar
Hey Guys, currently trying to get packer to build a Qemu image for use with KVM. I can successfully build a qcow2 image using packer and its only the basic ubuntu 12.04 image. But when i use the image in virt-manager to create a VM, the vm gets stuck on the boot steps after the configure net