vagrant-zones 0.1.102 → 0.1.104
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 +4 -4
- data/CHANGELOG.md +17 -0
- data/Gemfile +1 -1
- data/lib/vagrant-zones/action/restart.rb +1 -0
- data/lib/vagrant-zones/action/shutdown.rb +1 -0
- data/lib/vagrant-zones/action.rb +1 -0
- data/lib/vagrant-zones/driver.rb +6 -2
- data/lib/vagrant-zones/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9461268c14597c3e81ed5fe42bc509a860a37934d665319e1ecec7680e3564f4
|
4
|
+
data.tar.gz: 676d655c11b3da039f349ce27bfee6753783ecb0be0c17b6b3e068004fe4aa86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a6625154e93c8c732446cadca7e6f7184025270bd66b3abb18f6a2e3e395f57b95c2832a5dc64ae6a8eb6d7191c5936ac9e9c10aa88c7e68284440b1eb68cfb
|
7
|
+
data.tar.gz: 5e6618d61f00e4530f1bcceea9723429919a2f396bfd5317ff40ec13b5b989b6c62d20581fa76f59d436341a36a1d53c174957546140880eb05c1f8afdb31e7b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [0.1.104](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.103...v0.1.104) (2025-09-19)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* linting ([517f05a](https://github.com/STARTcloud/vagrant-zones/commit/517f05a80c7d37abd6448c86b6a8205bcafe5114))
|
9
|
+
* linting ([6168b99](https://github.com/STARTcloud/vagrant-zones/commit/6168b99cf2d8bcceae39d536fff253861b0d2b6a))
|
10
|
+
|
11
|
+
## [0.1.103](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.102...v0.1.103) (2025-09-19)
|
12
|
+
|
13
|
+
|
14
|
+
### Bug Fixes
|
15
|
+
|
16
|
+
* add metric to windows nat interfaces ([4d37895](https://github.com/STARTcloud/vagrant-zones/commit/4d378953869a4c7983baa58b5a518398207db01d))
|
17
|
+
* linting ([03be1ce](https://github.com/STARTcloud/vagrant-zones/commit/03be1cecdb656d30dcf2d998231c68da94f85c5e))
|
18
|
+
* linting ([fbda546](https://github.com/STARTcloud/vagrant-zones/commit/fbda546b652248ade68abcc0d4f8a15a330e62e7))
|
19
|
+
|
3
20
|
## [0.1.102](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.101...v0.1.102) (2025-06-01)
|
4
21
|
|
5
22
|
|
data/Gemfile
CHANGED
@@ -20,7 +20,7 @@ group :plugins do
|
|
20
20
|
gem 'rspec-mocks', '~> 3.10', '>= 3.10.0'
|
21
21
|
gem 'rubocop', '~> 1.0'
|
22
22
|
gem 'rubocop-rake', '~> 0.6', '>= 0.6.0'
|
23
|
-
gem 'rubocop-rspec', '~>
|
23
|
+
gem 'rubocop-rspec', '~> 3.7'
|
24
24
|
gem 'ruby-progressbar', '~> 1.11', '>= 1.11.0'
|
25
25
|
gem 'strings-ansi', '~> 0.2.0'
|
26
26
|
end
|
data/lib/vagrant-zones/action.rb
CHANGED
@@ -8,6 +8,7 @@ module VagrantPlugins
|
|
8
8
|
# Run actions against the machine
|
9
9
|
module Action # rubocop:disable Metrics/ModuleLength
|
10
10
|
include Vagrant::Action::Builtin
|
11
|
+
|
11
12
|
@logger = Log4r::Logger.new('vagrant_zones::action')
|
12
13
|
|
13
14
|
# This action is called to bring the box up from nothing.
|
data/lib/vagrant-zones/driver.rb
CHANGED
@@ -22,6 +22,7 @@ module VagrantPlugins
|
|
22
22
|
# This class does the heavy lifting of the zone provider
|
23
23
|
class Driver
|
24
24
|
include Vagrant::Util::Retryable
|
25
|
+
|
25
26
|
attr_accessor :executor
|
26
27
|
|
27
28
|
def initialize(machine)
|
@@ -1397,8 +1398,11 @@ module VagrantPlugins
|
|
1397
1398
|
rename_adapter = %(netsh interface set interface name="#{adapter_name}" newname="#{vnic_name}")
|
1398
1399
|
uii.info(I18n.t('vagrant_zones.win_applied_rename_adapter')) if zlogin(uii, rename_adapter)
|
1399
1400
|
|
1400
|
-
# Configure the interface with IP, mask, and gateway
|
1401
|
-
|
1401
|
+
# Configure the interface with IP, mask, and gateway and metric
|
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}).strip
|
1404
|
+
uii.info(I18n.t('vagrant_zones.win_applied_static')) if zlogin(uii, cmd)
|
1405
|
+
|
1402
1406
|
uii.info(I18n.t('vagrant_zones.win_applied_static')) if zlogin(uii, cmd)
|
1403
1407
|
|
1404
1408
|
# Configure DNS if provided
|
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.
|
4
|
+
version: 0.1.104
|
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-
|
11
|
+
date: 2025-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|