Closed cipy closed 5 years ago
and the virtualbox-iso builder does the same:
after the CentOS installs and restarts the VM, the VirtualBox (v5.2) stops too.
virtualbox-iso output will be in this color.
==> virtualbox-iso: Retrieving Guest additions
virtualbox-iso: Using file in-place: file:///usr/share/virtualbox/VBoxGuestAdditions.iso
==> virtualbox-iso: Retrieving ISO
virtualbox-iso: Found already downloaded, initial checksum matched, no download needed: http://10.110.10.10/iso/CentOS-7-x86_64-Minimal-1804.iso
==> virtualbox-iso: Starting HTTP server on port 10088
==> virtualbox-iso: Creating virtual machine...
==> virtualbox-iso: Creating hard drive...
==> virtualbox-iso: Creating forwarded port mapping for communicator (SSH, WinRM, etc) (host port 2227)
==> virtualbox-iso: Starting the virtual machine...
==> virtualbox-iso: Waiting 5s for boot...
==> virtualbox-iso: Typing the boot command...
==> virtualbox-iso: Using ssh communicator to connect: 127.0.0.1
==> virtualbox-iso: Waiting for SSH to become available...
==> virtualbox-iso: Timeout waiting for SSH.
==> virtualbox-iso: Deregistering and deleting VM...
==> virtualbox-iso: Deleting output directory...
Build 'virtualbox-iso' errored: Timeout waiting for SSH.
==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: Timeout waiting for SSH.
==> Builds finished but no artifacts were created.
You seems to have skipped this part of the virtualbox-iso
docs:
Here is a basic example. This example is not functional. It will start the OS installer but then fail because we don't provide the preseed file for Ubuntu to self-install.
Please only use GitHub Issues for reporting bugs and feature requests. Do not ask for general help here. Use IRC #packer-tool
on Freenode or the mailing list for that.
See https://www.packer.io/community/
If you are describing a bug or a feature request please reopen and try to add some more details to make it clearer.
Hi there,
I adapted your example to CentOS 7, but outcome is the same as for Qemu
On Tue, 16 Oct 2018 at 15.35, Rickard von Essen notifications@github.com wrote:
Closed #6857 https://github.com/hashicorp/packer/issues/6857.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hashicorp/packer/issues/6857#event-1906670603, or mute the thread https://github.com/notifications/unsubscribe-auth/ABFCklV1QUMlQTENnqVwpApZRMrc1E3Hks5uldKDgaJpZM4XeCMk .
Just tested the centos-6.10-x86_64
template from bento, and it worked as expected for me, the only change I did was setting accelerator: hvf
since I'm on macOS. If you drop a mail to the mailing list you will get help to get started.
Hi there,
If you could quote / paste here the link to this bento template you used, that would be great!
Thanks! :+1:
Anybody interested in actually troubleshooting and fixing this? Thanks!
I'm trying to build an simple CentOS image with
And so far after the CentOS installs and restarts the VM, the QEMU stops too.
I'm using your example from https://www.packer.io/docs/builders/qemu.html and the kickstart you link from https://gist.github.com/mitchellh/7328271/#file-centos6-ks-cfg