vagrant-dotvm 0.15.1 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f0db930d6a40bd79d357345fc1a7894a518802c
|
4
|
+
data.tar.gz: c870d76bc7eec160fe1797b167015088dc4ae4af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 296b16570f1ba5931563c0fc9f2c4c3330ba9d986bc557503aa8bacd780a3f983ae31e11ca5abbe90f2a2511a344b9b596b920fbca6cc549ce98b18bdb047c1a
|
7
|
+
data.tar.gz: e4adcc2af39bc9501943bdaa11736ee18cca1f4e6145d5bfd210375d40dff6cab0ece5b081569bc9df96f3dabb0171f0888e00e17216b7bea0a27ad1f72dcdd0
|
@@ -20,11 +20,11 @@ module VagrantPlugins
|
|
20
20
|
machine.vm.post_up_message = machine_cfg[:post_up_message]
|
21
21
|
|
22
22
|
machine.vm.provider "virtualbox" do |vb|
|
23
|
-
vb.customize ["modifyvm", :id, "--memory", machine_cfg[:memory]]
|
24
|
-
vb.customize ["modifyvm", :id, "--cpus", machine_cfg[:cpus]]
|
25
|
-
vb.customize ["modifyvm", :id, "--cpuexecutioncap", machine_cfg[:cpucap]]
|
23
|
+
vb.customize ["modifyvm", :id, "--memory", machine_cfg[:memory]] unless machine_cfg[:memory].nil?
|
24
|
+
vb.customize ["modifyvm", :id, "--cpus", machine_cfg[:cpus]] unless machine_cfg[:cpus].nil?
|
25
|
+
vb.customize ["modifyvm", :id, "--cpuexecutioncap", machine_cfg[:cpucap]] unless machine_cfg[:cpucap].nil?
|
26
26
|
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
|
27
|
-
vb.customize ["modifyvm", :id, "--natnet1", machine_cfg[:natnet]]
|
27
|
+
vb.customize ["modifyvm", :id, "--natnet1", machine_cfg[:natnet]] unless machine_cfg[:natnet].nil?
|
28
28
|
end
|
29
29
|
|
30
30
|
machine_cfg[:networks].each do |net|
|
@@ -39,11 +39,11 @@ module VagrantPlugins
|
|
39
39
|
:nick => machine["nick"],
|
40
40
|
:name => machine["name"],
|
41
41
|
:box => machine["box"],
|
42
|
-
:memory =>
|
43
|
-
:cpus =>
|
44
|
-
:cpucap =>
|
42
|
+
:memory => machine["memory"],
|
43
|
+
:cpus => machine["cpus"],
|
44
|
+
:cpucap => machine["cpucap"],
|
45
45
|
:primary => coalesce(machine["primary"], false),
|
46
|
-
:natnet =>
|
46
|
+
:natnet => machine["natnet"],
|
47
47
|
:networks => [],
|
48
48
|
:routes => [],
|
49
49
|
:provision => [],
|