nested VM ?

On Mon, Sep 12, 2016 at 10:53 PM, Steven Langlois <[email protected]>
wrote:

> Hi,
>
> I am experimenting with packer and based on the previous post I thought
> I'd try the bento, https://github.com/chef/bento, Centos 7.2 json file
> just to see if I could get it to work however it is failing with an error.
> Virtual Box 5.1 is freshly installed.
>
> I am trying it on a VMWare VM 4GB memory/32GB storage. The default json
> allocated a 40GB drive so I reduced that to 16GB and my VM has 22GB free.
>
> Will this just not work, creating a VM within a VM? Or should it work. I
> ran packer in debug mode but it didn't help much and there is nothing in
> the Centos journalctl (var/log/messages) to indicate why Virtual Box is
> failing to start the VM.
>
>
> [root@localhost bento-master]# /usr/bin/packer build -debug
> -only=virtualbox-iso centos-7.2-x86_64.json
>
> Debug mode enabled. Builds will not be parallelized.
>
> *virtualbox-iso output will be in this color.*
>
>
> *==> virtualbox-iso: Downloading or copying Guest additions*
>
>     virtualbox-iso: Downloading or copying: file:///usr/share/virtualbox/
> VBoxGuestAdditions.iso
>
> *==> virtualbox-iso: Pausing after run of step
> 'StepDownloadGuestAdditions'. Press enter to continue.*
>
> *==> virtualbox-iso: Downloading or copying ISO*
>
>     virtualbox-iso: Downloading or copying: http://mirrors.kernel.org/
> centos/7.2.1511/isos/x86_64/CentOS-7-x86_64-DVD-1511.iso
>
> *==> virtualbox-iso: Pausing after run of step 'StepDownload'. Press enter
> to continue.*
>
> *==> virtualbox-iso: Pausing after run of step 'StepOutputDir'. Press
> enter to continue.*
>
> *==> virtualbox-iso: Pausing after run of step 'StepCreateFloppy'. Press
> enter to continue.*
>
> *==> virtualbox-iso: Starting HTTP server on port 8381*
>
> *==> virtualbox-iso: Pausing after run of step 'StepHTTPServer'. Press
> enter to continue.*
>
> *==> virtualbox-iso: Pausing after run of step 'StepSuppressMessages'.
> Press enter to continue.*
>
> *==> virtualbox-iso: Creating virtual machine...*
>
> *==> virtualbox-iso: Pausing after run of step 'stepCreateVM'. Press enter
> to continue.*
>
> *==> virtualbox-iso: Creating hard drive...*
>
> *==> virtualbox-iso: Pausing after run of step 'stepCreateDisk'. Press
> enter to continue.*
>
> *==> virtualbox-iso: Pausing after run of step 'stepAttachISO'. Press
> enter to continue.*
>
> *==> virtualbox-iso: Pausing after run of step 'StepAttachGuestAdditions'.
> Press enter to continue.*
>
> *==> virtualbox-iso: Pausing after run of step 'StepConfigureVRDP'. Press
> enter to continue.*
>
> *==> virtualbox-iso: Pausing after run of step 'StepAttachFloppy'. Press
> enter to continue.*
>
> *==> virtualbox-iso: Creating forwarded port mapping for communicator
> (SSH, WinRM, etc) (host port 2857)*
>
> *==> virtualbox-iso: Pausing after run of step 'StepForwardSSH'. Press
> enter to continue.*
>
> *==> virtualbox-iso: Executing custom VBoxManage commands...*
>
>     virtualbox-iso: Executing: modifyvm centos-7.2-x86_64 --memory 512
>
>     virtualbox-iso: Executing: modifyvm centos-7.2-x86_64 --cpus 1
>
> *==> virtualbox-iso: Pausing after run of step 'StepVBoxManage'. Press
> enter to continue.*
>
> *==> virtualbox-iso: Starting the virtual machine...*
>
> *==> virtualbox-iso: Error starting VM: VBoxManage error: VBoxManage:
> error: The virtual machine 'centos-7.2-x86_64' has terminated unexpectedly
> during startup because of signal 6*
>
> *==> virtualbox-iso: VBoxManage: error: Details: code NS_ERROR_FAILURE
> (0x80004005), component MachineWrap, interface IMachine*
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/packer-tool/6564c6ae-808b-4195-9bca-aa4f982d506e%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/6564c6ae-808b-4195-9bca-aa4f982d506e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro
(+31)103400555

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CAHqq0exatPbE9yG-LHvfLTk9i_Rcp6cUnhTgibgTy%3DT-5ztHiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to