Yes your syntax is incorrect check section 6.7 at
https://www.virtualbox.org/manual/ch06.html

On Mon, Oct 15, 2018 at 12:15 PM steve BP <stevebpatw...@gmail.com> wrote:

> Hi Rickard
>
> Thanks for the prompt reply. I have modified my template as per your
> instructions (I was led a bit astray by the WinRM port forwarding line) and
> I am hitting my next error
>
> => virtualbox-iso: Executing custom VBoxManage commands...
>    virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1539598042
> --natpf1 winrm,tcp,,55985,,5985
>    virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1539598042
> --memory 2048
>    virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1539598042
> --cpus 2
>    virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1539598042
> --nic2 hostonly --hostonlyadapter1 vboxnet1
> => virtualbox-iso: Starting the virtual machine...
> => virtualbox-iso: Error starting VM: VBoxManage error: VBoxManage.exe:
> error: Nonexistent host networking interface, name '' (VERR_INTERNAL_ERROR)
> => virtualbox-iso: VBoxManage.exe: error: Details: code E_FAIL
> (0x80004005), component ConsoleWrap, interface IConsole
> => virtualbox-iso: Deregistering and deleting VM...
>
> Looking at the help for VboxManage  modifyvm,
>
>  [--hostonlyadapter<1-N> none|<devicename>]
>
> I am wondering, I am wondering if it is complaining about the device name
> field. In the command line example this vboxnet1 works, but my actual
> host network adapter is VirtualBox Host-Only Ethernet Adaptor. I have
> tried this also but it still did not work.
>
> --
> 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 packer-tool+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/2488f8cf-0736-4d45-ae21-4ff2d6e82618%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/2488f8cf-0736-4d45-ae21-4ff2d6e82618%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 packer-tool+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt_hYRLbgYQkWns9pb%2B%2BLYFGfSRhMcEw8%3DJ-%2BJosKHj_cg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to