Rickard.

from your experience do you think that the error is caused by a packer 
configuration issue, or a virtual box configuration issue?

Steve

On Monday, 15 October 2018 11:28:33 UTC+1, Rickard von Essen wrote:
>
> 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 <[email protected] 
> <javascript:>> 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 [email protected] <javascript:>.
>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/35689d84-50a7-4677-b7a8-d39bde3888e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to