-
Notifications
You must be signed in to change notification settings - Fork 16
network configuration (Ubuntu 14.04.x) #19
Comments
I was kind of too fast when I opened this. I have to add that when I remove the network configuration, shared folders still do not work. So this issue is unrelated. But if anyone had any thoughts, I would appreciate pointers as well. Thanks! |
RE: networks shares: I had previously used the The IP related issue is still present. |
@till the Private networks are not currently supported by the plugin, I'm working on a new improved version that will support private networks and will be released before the end of the year. |
@frapposelli I couldn't find 10 for trusty (LTS), but it seems to work with Probably not the scope of this "provider", but is there a command that shows capabilities of the VM? E.g. shared folders, private networking, etc.? Thanks for the heads up on the private networking. |
What Ubuntu vagrant box were you using? |
@Xe I rolled my own: https://atlas.hashicorp.com/ies/boxes/vagrant-ubuntu_14.04.3-chef_11.10.4 My packer templates are here: https://github.com/easybiblabs/packer-templates |
My Vagrantfile: # Set our default provider for this Vagrantfile to 'vmware_appcatalyst'
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'vmware_appcatalyst'
nodes = [
{ hostname: 'gantry-test-1', box: 'hashicorp/precise64' },
{ hostname: 'gantry-test-2', box: 'hashicorp/precise64', }
]
Vagrant.configure('2') do |config|
# Configure our boxes with 1 CPU and 384MB of RAM
config.vm.provider 'vmware_appcatalyst' do |v|
v.cpus = '1'
v.memory = '512'
end
# Go through nodes and configure each of them.j
nodes.each do |node|
config.vm.define node[:hostname] do |node_config|
node_config.vm.box = node[:box]
node_config.vm.hostname = node[:hostname]
node_config.vm.network :private_network, ip: '33.33.33.160'
node_config.vm.synced_folder('/Users/xena/Code', '/home/xena/code')
end
end
end _ vagrant ssh gantry-test-1
Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-29-virtual x86_64)
* Documentation: https://help.ubuntu.com/
Last login: Thu Jan 31 13:48:53 2013
vagrant@gantry-test-1:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0c:29:35:3f:18
inet addr:172.16.143.133 Bcast:172.16.143.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe35:3f18/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:758 errors:0 dropped:0 overruns:0 frame:0
TX packets:470 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:88326 (88.3 KB) TX bytes:71766 (71.7 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:680 (680.0 B) TX bytes:680 (680.0 B)
vagrant@gantry-test-1:~$ logout
Connection to 172.16.143.133 closed. I'm not seeing the IP address being on my home network (I run a 10../8), but I am seeing the behavior that the configured IP address is not being set. I think this issue name may need to be changed to "Private networking doesn't work" or some similar thing to that. |
@frapposelli Any news on |
I configured an IP (static) in my
Vagrantfile
which seems to work fine with thevirtualbox
provider:When I start the box with App Catalyst, it assigns itself another IP:
The IP seems to be from my LAN's DHCP pool.
In contrast, the log with
virtualbox
would show a tunnel via127.0.0.1:2222
, which I think Vagrant is unable to setup because the IP address defined in theVagrantfile
does not match the expected value of33.33.33.160
.This also seems to lead to shared folders not being mounted:
Any thoughts what I can do to debug this?
The text was updated successfully, but these errors were encountered: