vagrant-zones 0.1.55 → 0.1.56
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 +7 -0
- data/lib/vagrant-zones/driver.rb +5 -3
- data/lib/vagrant-zones/version.rb +1 -1
- data/locales/en.yml +2 -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: 1528b32a50309537676f60a94fa55de07bb743cc524a5aea0f711d99879dc23c
|
|
4
|
+
data.tar.gz: d8ba93a9e3c100a9c8ce6291475a3e7833da53f3519f4801dff9526e2548c9a7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e92db9978438db8ef5d05857cfea9abaa615ee05710e023785a56673e51e7a8eb618361defceb4e8a3438e97c7fdee04221d9a42502aba7667e24d7f178cff8d
|
|
7
|
+
data.tar.gz: 36ef52d0e80837ac9b7004673b3af871a07ff010407e8444d665905a80dcef67189716c67a1f7b8f3183111754aa5b358f93766b110e3c88ea96093affd3cb5e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
### [0.1.56](https://www.github.com/STARTcloud/vagrant-zones/compare/v0.1.55...v0.1.56) (2022-12-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* allow empty gateways ([302e495](https://www.github.com/STARTcloud/vagrant-zones/commit/302e495edc7a786182122e74ea43b2eeb94a7c9e))
|
|
9
|
+
|
|
3
10
|
### [0.1.55](https://www.github.com/STARTcloud/vagrant-zones/compare/v0.1.54...v0.1.55) (2022-11-23)
|
|
4
11
|
|
|
5
12
|
|
data/lib/vagrant-zones/driver.rb
CHANGED
|
@@ -1066,9 +1066,11 @@ module VagrantPlugins
|
|
|
1066
1066
|
uii.info(" #{vnic_name}")
|
|
1067
1067
|
netplan1 = %(network:\n version: 2\n ethernets:\n #{vnic_name}:\n match:\n macaddress: #{mac}\n)
|
|
1068
1068
|
netplan2 = %( dhcp-identifier: mac\n dhcp4: #{opts[:dhcp4]}\n dhcp6: #{opts[:dhcp6]}\n)
|
|
1069
|
-
netplan3 = %( set-name: #{vnic_name}\n addresses: [#{ip}/#{shrtsubnet}]\n
|
|
1070
|
-
netplan4 = %(
|
|
1071
|
-
|
|
1069
|
+
netplan3 = %( set-name: #{vnic_name}\n addresses: [#{ip}/#{shrtsubnet}]\n)
|
|
1070
|
+
netplan4 = %( gateway4: #{defrouter}\n)
|
|
1071
|
+
netplan5 = %( nameservers:\n addresses: [#{servers[0]['nameserver']} , #{servers[1]['nameserver']}] )
|
|
1072
|
+
netplan = netplan1 + netplan2 + netplan3 + netplan5 if opts[:gateway].nil?
|
|
1073
|
+
netplan = netplan1 + netplan2 + netplan3 + netplan4 + netplan5 unless opts[:gateway].nil?
|
|
1072
1074
|
cmd = "echo '#{netplan}' > /etc/netplan/#{vnic_name}.yaml"
|
|
1073
1075
|
infomessage = I18n.t('vagrant_zones.netplan_applied_static') + "/etc/netplan/#{vnic_name}.yaml"
|
|
1074
1076
|
uii.info(infomessage) if zlogin(uii, cmd)
|
data/locales/en.yml
CHANGED
|
@@ -16,6 +16,8 @@ en:
|
|
|
16
16
|
Invalid bhyve configuration detected
|
|
17
17
|
console_failed: |-
|
|
18
18
|
Failed to access console
|
|
19
|
+
console_failed: |-
|
|
20
|
+
Failed to apply the netplan configuration inside the VM
|
|
19
21
|
console_failed_exit: |-
|
|
20
22
|
Exiting
|
|
21
23
|
execute_error: |-
|
|
@@ -96,7 +98,6 @@ en:
|
|
|
96
98
|
- Stale Netplan configurations removed
|
|
97
99
|
netplan_applied_static: |-
|
|
98
100
|
- Set static Netplan configurations:
|
|
99
|
-
|
|
100
101
|
console_failednetplan: |-
|
|
101
102
|
Netplan configurations failed
|
|
102
103
|
lx_zone_dataset: |-
|
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.56
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mark Gilbert
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: i18n
|