Can you share a zip with packer template and scripts? I can run a build in
a MAC to test

On Sun, Jul 24, 2016 at 11:50 AM, Bruno Vernay <[email protected]>
wrote:

> I set information in post_manage, like
> "vboxmanage_post": [
> ["modifyvm", "{{.Name}}", "--vrde", "off"],
> ["modifyvm", "{{.Name}}", "--nic1", "nat"],
> ...
> ["modifyvm", "{{.Name}}", "--cableconnected2", "on"]
>
> But they are lost in translation. I have to re-set them on the command
> line, after having imported the VM:
>
> VBoxManage modifyvm $VM_NAME --vrde off
> VBoxManage modifyvm $VM_NAME --nic1 nat
> ...
> VBoxManage modifyvm $VM_NAME --cableconnected2 on
>
>
> I attached the ovf as produced by Packer via VirtualBox export and the
> logs.
> Below is the diff between the machine imported before and after the
> modifyVM commands (via the shell)
>
> 30c30
> <       <RemoteDisplay *enabled="true"*>
> ---
> >       <RemoteDisplay>
> 40c40
> <         <Adapter slot="0" enabled="true" MACAddress="08002775709D"
> *cable="false"* promiscuousModePolicy="AllowAll" type="virtio">
> ---
> >         <Adapter slot="0" enabled="true" MACAddress="08002775709D"
> promiscuousModePolicy="AllowAll" type="virtio">
> 43c43
> <         <Adapter slot="1" enabled="true" MACAddress="080027867BF6"
> *cable="false"* promiscuousModePolicy="AllowAll" type="virtio">
> ---
> >         <Adapter slot="1" enabled="true" MACAddress="080027867BF6"
> promiscuousModePolicy="AllowAll" type="virtio">
>
>
> Not sure if it is a VirtualBox or a Packer issue.  I will try to play with
> import/export to know more.
> In the mean time maybe someone already had the issue ???   I did not find
> much on Google.
>
> Using:
> - Packer 0.10.1
> - VirtualBox 5.1.2
> - Fedora 23
>
> --
> 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/6cf3a5ef-deba-4d9e-82ac-32348af68653%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/6cf3a5ef-deba-4d9e-82ac-32348af68653%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/CAHqq0ewY5X2d%2Bmsv29F6Of2DE-YjRvN71u%2BgCB09q%3DMiE0XmKw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to