vagrant-zones 0.1.61 → 0.1.62
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/vagrant-zones/driver.rb +2 -2
- data/lib/vagrant-zones/errors.rb +13 -0
- 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: f10dd005846f1b9adbc31ede92ec72a84c643161e706b8f08fa8bde0f1fd98c9
|
4
|
+
data.tar.gz: 270473fcf9b7ebdf23deb97feb2a4b30ea32b225bf2091f6a3a5de7274da3070
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 999963a8083ab19e812968e8a587f73441da6fe4170bb562186a69130e2dadbdd6fe35d2f834f28b529a6c7778ea1ff789a08cdf2d5bf06497f3ef643ec0dedc
|
7
|
+
data.tar.gz: ae0f5f78122722af53cde1f0cdcc51abce48371c58f4753245a4e2260231ee29cd932614d9b5511cbad6701f483fc070ec6b922090d1a04738841914277828ca
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [0.1.62](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.61...v0.1.62) (2023-01-06)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* dhcp natnic ([e0f584d](https://github.com/STARTcloud/vagrant-zones/commit/e0f584d4cd85dd84aeb4a192d9d99d12cb993051))
|
9
|
+
* ruby lint ([718c209](https://github.com/STARTcloud/vagrant-zones/commit/718c2096d2ac37a44a92234901ca7a73664cd088))
|
10
|
+
* trailing whitespace ([e1226d1](https://github.com/STARTcloud/vagrant-zones/commit/e1226d172fd637c26cb47d1c606deae4fd7eef89))
|
11
|
+
|
3
12
|
## [0.1.61](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.60...v0.1.61) (2022-12-10)
|
4
13
|
|
5
14
|
|
data/lib/vagrant-zones/driver.rb
CHANGED
@@ -98,7 +98,7 @@ module VagrantPlugins
|
|
98
98
|
## Run commands over SSH instead of ZLogin
|
99
99
|
def ssh_run_command(uii, command)
|
100
100
|
config = @machine.provider_config
|
101
|
-
ip = get_ip_address('runsshcommmand')
|
101
|
+
ip = get_ip_address(uii, 'runsshcommmand')
|
102
102
|
user = user(@machine)
|
103
103
|
key = userprivatekeypath(@machine).to_s
|
104
104
|
port = sshport(@machine).to_s
|
@@ -260,7 +260,7 @@ module VagrantPlugins
|
|
260
260
|
end
|
261
261
|
|
262
262
|
## If DHCP and Zlogin, get the IP address
|
263
|
-
def get_ip_address(_function)
|
263
|
+
def get_ip_address(uii, _function)
|
264
264
|
config = @machine.provider_config
|
265
265
|
name = @machine.name
|
266
266
|
@machine.config.vm.networks.each do |_adaptertype, opts|
|
data/lib/vagrant-zones/errors.rb
CHANGED
@@ -5,54 +5,67 @@ require 'vagrant'
|
|
5
5
|
module VagrantPlugins
|
6
6
|
module ProviderZone
|
7
7
|
module Errors
|
8
|
+
# Namespace for Vagrant Zones Errors
|
8
9
|
class VagrantZonesError < Vagrant::Errors::VagrantError
|
9
10
|
error_namespace('vagrant_zones.errors')
|
10
11
|
end
|
11
12
|
|
13
|
+
# System Check Results
|
12
14
|
class SystemVersionIsTooLow < VagrantZonesError
|
13
15
|
error_key(:system_version_too_low)
|
14
16
|
end
|
15
17
|
|
18
|
+
# Compatability Check Tool
|
16
19
|
class MissingCompatCheckTool < VagrantZonesError
|
17
20
|
error_key(:missing_compatability_check_tool)
|
18
21
|
end
|
19
22
|
|
23
|
+
# Missing Bhyve
|
20
24
|
class MissingBhyve < VagrantZonesError
|
21
25
|
error_key(:missing_bhyve)
|
22
26
|
end
|
23
27
|
|
28
|
+
# HasNoRootPrivilege
|
24
29
|
class HasNoRootPrivilege < VagrantZonesError
|
25
30
|
error_key(:has_no_root_privilege)
|
26
31
|
end
|
27
32
|
|
33
|
+
# ExecuteError
|
28
34
|
class ExecuteError < VagrantZonesError
|
29
35
|
error_key(:execute_error)
|
30
36
|
end
|
31
37
|
|
38
|
+
# TimeoutError
|
32
39
|
class TimeoutError < VagrantZonesError
|
33
40
|
error_key(:timeout_error)
|
34
41
|
end
|
35
42
|
|
43
|
+
# VirtualBoxRunningConflictDetected
|
36
44
|
class VirtualBoxRunningConflictDetected < VagrantZonesError
|
37
45
|
error_key(:virtual_box_running_conflict_detected)
|
38
46
|
end
|
39
47
|
|
48
|
+
# NotYetImplemented
|
40
49
|
class NotYetImplemented < VagrantZonesError
|
41
50
|
error_key(:not_yet_implemented)
|
42
51
|
end
|
43
52
|
|
53
|
+
# TimeoutHalt
|
44
54
|
class TimeoutHalt < VagrantZonesError
|
45
55
|
error_key(:halt_timeout)
|
46
56
|
end
|
47
57
|
|
58
|
+
# InvalidbhyveBrand
|
48
59
|
class InvalidbhyveBrand < VagrantZonesError
|
49
60
|
error_key(:invalidbhyve_brand)
|
50
61
|
end
|
51
62
|
|
63
|
+
# InvalidLXBrand
|
52
64
|
class InvalidLXBrand < VagrantZonesError
|
53
65
|
error_key(:invalidLX_brand)
|
54
66
|
end
|
55
67
|
|
68
|
+
# ConsoleFailed
|
56
69
|
class ConsoleFailed < VagrantZonesError
|
57
70
|
error_key(:console_failed_exit)
|
58
71
|
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.
|
4
|
+
version: 0.1.62
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Gilbert
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|