vagrant-boot2docker 0.0.4 → 0.0.5

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: e10efdd6732de79615b25fe3f03a1784cee85cfa
4
- data.tar.gz: ffcfd5231fa69fca0b25173e8a926fcd4c0014b3
3
+ metadata.gz: 860b150978c8cdc43d8e228c15cfbb07c77c60cc
4
+ data.tar.gz: 55434b7698a764bb3d19f5eba7bf2142feaeb6b8
5
5
  SHA512:
6
- metadata.gz: 765b4ff5bfd2a1cfcd4a0914b6f1268dbee2900e1040fb6fb97f89053255040294100b1031dc7556e4f400f31a95a35be3b4db5e228117ad2c1b97b5d1f38339
7
- data.tar.gz: f7394b195c820dd3d038c14c027805a1984c342e74d33248e5fd6799ed8fa4f7c33dec08ecb0f2a082e1f91f17ab1c86b1d757794903d6c22e4a5b894f58f308
6
+ metadata.gz: ca7cf55df1121f265afb0f5950ae3da346ddc1705cf5061fcd97da5284ccd89c22e06304785117ab163daedfeac27f63b4516faa6efce1c2649a83a802ef1ba8
7
+ data.tar.gz: 97fc2c1ca6af81e1d28fc719bb9366b6e3f4020e9742cf3f85abfacf351abd526ad4927ab2349b6b5896716afeda75dbfb283a7aee765464de6fe7a6fbb87d77
@@ -10,6 +10,8 @@ module VagrantPlugins
10
10
  if n.key?("ip")
11
11
  ifc = "/sbin/ifconfig eth#{n[:interface]}"
12
12
  broadcast = (IPAddr.new(n[:ip]) | (~ IPAddr.new(n[:netmask]))).to_s
13
+ # First kill the udhcp client for this interface
14
+ comm.sudo("kill `ps -ef |grep dhcp | grep eth#{n[:interface]} | grep -v grep | tr -s ' ' | cut -d' ' -f2`")
13
15
  comm.sudo("#{ifc} down")
14
16
  comm.sudo("#{ifc} #{n[:ip]} netmask #{n[:netmask]} broadcast #{broadcast}")
15
17
  comm.sudo("#{ifc} up")
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Boot2docker
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
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.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Faisal P