{"action":"closed","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/3442","repository_url":"https://api.github.com/repos/mitchellh/packer","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/3442/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/3442/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/3442/events","html_url":"https://github.com/mitchellh/packer/issues/3442","id":148596066,"number":3442,"title":"Second network interface doesn't show up in vagrant (virtualbox-iso)","user":{"login":"t2d","id":1834580,"avatar_url":"https://avatars.githubusercontent.com/u/1834580?v=3","gravatar_id":"","url":"https://api.github.com/users/t2d","html_url":"https://github.com/t2d","followers_url":"https://api.github.com/users/t2d/followers","following_url":"https://api.github.com/users/t2d/following{/other_user}","gists_url":"https://api.github.com/users/t2d/gists{/gist_id}","starred_url":"https://api.github.com/users/t2d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t2d/subscriptions","organizations_url":"https://api.github.com/users/t2d/orgs","repos_url":"https://api.github.com/users/t2d/repos","events_url":"https://api.github.com/users/t2d/events{/privacy}","received_events_url":"https://api.github.com/users/t2d/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitchellh/packer/labels/builder/virtualbox","name":"builder/virtualbox","color":"d4c5f9"},{"url":"https://api.github.com/repos/mitchellh/packer/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-15T08:36:53Z","updated_at":"2016-04-15T08:59:13Z","closed_at":"2016-04-15T08:59:13Z","body":"I want to build a vagrant box with a second network interface. Therefore, my builder looks like:\r\n```\r\n{\r\n  \"variables\": {\r\n        \"vm_name\": \"test\"\r\n  },\r\n  \"builders\": [\r\n    {\r\n      \"type\": \"virtualbox-iso\",\r\n      \"guest_os_type\": \"Ubuntu_64\",\r\n      \"headless\": true,\r\n      \"vm_name\": \"{{user `vm_name`}}\",\r\n      \"vboxmanage\": [\r\n        [\"modifyvm\", \"{{.Name}}\", \"--nic2\", \"nat\"],\r\n        [\"modifyvm\", \"{{.Name}}\", \"--cableconnected2\", \"on\"]\r\n      ],\r\n      \"vboxmanage_post\": [\r\n        [\"modifyvm\", \"{{.Name}}\", \"--nic2\", \"nat\"],\r\n        [\"modifyvm\", \"{{.Name}}\", \"--cableconnected2\", \"on\"]\r\n      ],\r\n      \"iso_url\": \"test.iso\",\r\n      \"iso_checksum_type\": \"none\",\r\n      \"boot_command\": \"<enter>\",\r\n      \"shutdown_command\": \"echo 'packer' | sudo -S shutdown -P now\"\r\n    }\r\n  ],\r\n  \"post-processors\": [\r\n    [\r\n      {\r\n        \"type\": \"vagrant\",\r\n        \"keep_input_artifact\": false,\r\n        \"output\": \"{{ user `vm_name` }}.box\"\r\n      }\r\n    ]\r\n  ]\r\n}\r\n```\r\nDuring the building process, the second interface is visible in VirtualBox.\r\nHowever, when I import the box with vagrant and start it, there is no second network interface.\r\nIs this a feature or a bug? Am I supposed to add the interface again in `Vagrantfile`?\r\n\r\n- Packer Version: 0.10.0\r\n- Host platform: Ubuntu 15.10\r\n"}}