Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

can't change the source network from vagrant to some other existing network #263

Open
aruntomar opened this issue Oct 10, 2014 · 1 comment

Comments

@aruntomar
Copy link

Hi!

I would like to use an existing bridged network with my vagrant vm. correct me if i'm wrong. reading the code, it seems that the source network is hard coded as "vagrant" and there is no attribute accessor for the same to modify the network. eg: i could change the network_model from the default "virtio" to "rtl8139" by specifying the following in the Vagrantfile

  config.vm.box = "maas"
  config.vm.provider "kvm" do |v|
        v.name = "cool"
        v.network_model = "rtl8139"
        v.provider = "kvm"
#       v.network = "LAN"
  end
virsh net-list
 Name                 State      Autostart     Persistent
----------------------------------------------------------
 LAN                  active     yes           yes
 vagrant              active     no            yes
 WAN1                 active     yes           yes
 WAN2                 active     yes           yes
@adrahon
Copy link
Owner

adrahon commented Oct 11, 2014

We have an open issue for this #181

I just pushed some changes to the networking code, I'm going to start working on bridge network next.

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

No branches or pull requests

2 participants