vagrant-boot2docker 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a713ef264aa950c3a6e01f2369602408898694a5
4
- data.tar.gz: 2bb9f5673b0af3401149c3a42ef06c3130fe4b55
3
+ metadata.gz: 245304dedc34ebf8e21a8871e28791f9e0190f95
4
+ data.tar.gz: 1770e9123c9d6f634426484ed4619fa4924d54ee
5
5
  SHA512:
6
- metadata.gz: 12836adae8a31a5d68ed85248df502c188160f9b4180ec8a3981eb778d0b7f3b0957d1917c32cdc06c4111688246c41a0defa935d6140d02bc15744141fe5a10
7
- data.tar.gz: a40e2e0b4fedd2da08f78426aba7fcb410efde156a93373a9eed6a993524c98707cd9b18cd4e596b7c99860f0be06a68c4ef1b7ab6075ddb621261c313f294ff
6
+ metadata.gz: 743d8a680eea6779cc686674451f8c48ba9ab02e29d52a42449346db412bedfc5dabeaa54a583cb7e8c758a2d173d8c7895fd97ce9b33ee12864ebe4afea8d26
7
+ data.tar.gz: 3ede15600bd4cab3d7485f7cb722550168397e86d02b61bf9c6574461452755838a22f56417cd067fd1ef4dec3bc9a2e67adbcf4899a00ce66d2397fbc270837
@@ -9,10 +9,11 @@ module VagrantPlugins
9
9
  networks.each do |n|
10
10
  if n.key?("ip")
11
11
  ifc = "/sbin/ifconfig eth#{n[:interface]}"
12
- iface = "eth#{n[:interface]}"
12
+ #iface = "eth#{n[:interface]}"
13
13
  broadcast = (IPAddr.new(n[:ip]) | (~ IPAddr.new(n[:netmask]))).to_s
14
- # First kill the udhcp client for this interface
15
- comm.sudo("ps -ef |grep dhcp | grep #{iface} | grep -v grep | tr -s ' ' | cut -d' ' -f2| xargs kill")
14
+ # First kill the udhcp client for this interface - does not work. Disable for now
15
+ # As a workaround, adding something similar to /var/lib/boot2docker/bootlocal.sh should fix it...
16
+ #comm.sudo("ps -ef |grep dhcp | grep #{iface} | grep -v grep | tr -s ' ' | cut -d' ' -f2| xargs kill")
16
17
  comm.sudo("#{ifc} down")
17
18
  comm.sudo("#{ifc} #{n[:ip]} netmask #{n[:netmask]} broadcast #{broadcast}")
18
19
  comm.sudo("#{ifc} up")
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Boot2docker
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-boot2docker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Faisal P