Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

read_network_interfaces returns {} for public_network #116

Closed
YungSang opened this issue May 7, 2014 · 3 comments
Closed

read_network_interfaces returns {} for public_network #116

YungSang opened this issue May 7, 2014 · 3 comments

Comments

@YungSang
Copy link
Contributor

YungSang commented May 7, 2014

I setup Vagrantfile as below.

    config.vm.network "private_network", type: "dhcp"
    config.vm.network "public_network", bridge: 'en0'

read_network_interfaces returns the following hash.

{0=>{:type=>:shared}, 1=>{:type=>:hostonly, :hostonly=>"vnic1"}, 2=>{}}

https://github.com/Parallels/vagrant-parallels/blob/master/lib/vagrant-parallels/driver/pd_8.rb#L280

There is no type key for public_network(net2) in PD9.

$ prlctl list --info test_default_1399425978992_39199
  net0 (+) type=shared mac=001C42E36E29 card=virtio
  net1 (+) type=bridged iface='vnic1' mac=001C42159E59 card=virtio
  net2 (+) network='Bridged' mac=001C42E9F016 card=virtio
legal90 added a commit that referenced this issue May 7, 2014
legal90 added a commit that referenced this issue May 7, 2014
* master:
  Fixed public_network error [GH-116]
@YungSang
Copy link
Contributor Author

YungSang commented May 7, 2014

I found the same thing and I was about to report it. Thanks.

@YungSang YungSang closed this as completed May 7, 2014
@legal90
Copy link
Collaborator

legal90 commented May 7, 2014

I'm sorry about that.
This bug has existed for a long time, but before the "Default" bridge interface configured successfully.
Seems like prlctl list -i output has been changed in PD 9.0.24229

Anyway, I've just fixed it in vagrant-parallels v1.0.8

@YungSang
Copy link
Contributor Author

YungSang commented May 7, 2014

Yeah. I confirmed. Thanks again.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants