vagrant-zones 0.1.103 → 0.1.105

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
  SHA256:
3
- metadata.gz: 199dc637182518fb306265b19efe0d193621a2122ac05239b10cd7373783ca90
4
- data.tar.gz: 7bcbbf9ef88e301dd6319e8c0e8179ef437e32b39f3020173af4517c89a03110
3
+ metadata.gz: 3ec146a270ca856d841dd4824ce40dcdacb6b689b43c00df0226a65c0aa4e4cd
4
+ data.tar.gz: 2e1d86e6179873bf0fd9cdb4262b0be8e0b8d622d4609f0149cfe98562d5faf5
5
5
  SHA512:
6
- metadata.gz: 1f52fa426012f1d8a4bb1eba1759e5ce0618f43830669df61bf5074f77c4c7f055d8f3b6eafe32b52675a8e4d47d3f85c2a5c8ca1a96a7feeb9bc6a58d6005bc
7
- data.tar.gz: 44fceee141650ee9b86b794e3980a8941f986f602a5a30827503186cced99caa974761ec450fe4a443ebf615eacc803ca219fa8d43b405deaa7639e2ba50c4e6
6
+ metadata.gz: 784595eb938ddf8e33c8eb1e23deeb8de031932c02557587d60f1a19dcaa1a261cf82cd71bc246fccf983642f1f516688464357f9b082ab2a94776be5c6a3c19
7
+ data.tar.gz: 4c9f866d0eced4ea82528ac3d9f589ae4e62f0b87def8d28b789f11749c55911c1ac8bb45e104a7c75c30d2818fcbc3774fdaf94ff6ec5451bd5d6886a164b52
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.105](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.104...v0.1.105) (2025-09-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * metric ([f5582c1](https://github.com/STARTcloud/vagrant-zones/commit/f5582c19f14d3191ca051b5bbcf814fef8e65775))
9
+
10
+ ## [0.1.104](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.103...v0.1.104) (2025-09-19)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * linting ([517f05a](https://github.com/STARTcloud/vagrant-zones/commit/517f05a80c7d37abd6448c86b6a8205bcafe5114))
16
+ * linting ([6168b99](https://github.com/STARTcloud/vagrant-zones/commit/6168b99cf2d8bcceae39d536fff253861b0d2b6a))
17
+
3
18
  ## [0.1.103](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.102...v0.1.103) (2025-09-19)
4
19
 
5
20
 
@@ -1343,7 +1343,6 @@ module VagrantPlugins
1343
1343
  ip = ipaddress(uii, opts)
1344
1344
  vnic_name = vname(uii, opts)
1345
1345
  defrouter = opts[:gateway].to_s
1346
- metric = opts[:metric] || 100
1347
1346
  uii.info(I18n.t('vagrant_zones.configure_win_interface_using_vnic'))
1348
1347
  sleep(60)
1349
1348
 
@@ -1400,12 +1399,8 @@ module VagrantPlugins
1400
1399
  uii.info(I18n.t('vagrant_zones.win_applied_rename_adapter')) if zlogin(uii, rename_adapter)
1401
1400
 
1402
1401
  # Configure the interface with IP, mask, and gateway
1403
- cmd = %(netsh interface ipv4 set address name="#{vnic_name}" static #{ip} #{opts[:netmask]} #{defrouter})
1404
- # Add metric setting for NAT networks
1405
- if opts[:nictype] == 'nat' || opts[:provisional]
1406
- metric_cmd = %(netsh interface ipv4 set interface "#{vnic_name}" metric=#{metric})
1407
- zlogin(uii, metric_cmd)
1408
- end
1402
+ metric_param = opts[:metric] ? "metric=#{opts[:metric]}" : ''
1403
+ cmd = %(netsh interface ipv4 set address name="#{vnic_name}" static #{ip} #{opts[:netmask]} #{defrouter} #{metric_param})
1409
1404
  uii.info(I18n.t('vagrant_zones.win_applied_static')) if zlogin(uii, cmd)
1410
1405
 
1411
1406
  # Configure DNS if provided
@@ -2,7 +2,7 @@
2
2
 
3
3
  module VagrantPlugins
4
4
  module ProviderZone
5
- VERSION = '0.1.103'
5
+ VERSION = '0.1.105'
6
6
  NAME = 'vagrant-zones'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-zones
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.103
4
+ version: 0.1.105
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Gilbert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-19 00:00:00.000000000 Z
11
+ date: 2025-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n