vagrant-zones 0.1.75 → 0.1.77
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 +14 -0
- data/lib/vagrant-zones/config.rb +2 -1
- data/lib/vagrant-zones/driver.rb +2 -2
- data/lib/vagrant-zones/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9da2346975b2b2cc984dc5d4fe58c3a54f55f5d196aa8c17b1506ccf978da963
|
4
|
+
data.tar.gz: 3d1464527c46a2a231e9e376f35a1faf89677d0193977ba0bd032748cf463d14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f86b4ad41d94e179a3a811d05a13e74cb8298ba46dbbea7f495aca4d0e4ae35f47f961ecc748625d7570348bb57ed29d6d12ac76c1af1ce534efde6118af8e6
|
7
|
+
data.tar.gz: 9363dc5d71bd463c76ecc02c41badc18b41a5a314850927b3e655b4f0d58e551d15eac7426e1b3887aa37d3a2b2d62f37ad3842cc217bbaed3ba62adbe282625
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [0.1.77](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.76...v0.1.77) (2023-11-27)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* don't delete vnics if on_demand is enabled ([e7d0b8d](https://github.com/STARTcloud/vagrant-zones/commit/e7d0b8d7b6694ee93759e0f45185a54aefc2e91e))
|
9
|
+
|
10
|
+
## [0.1.76](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.75...v0.1.76) (2023-11-27)
|
11
|
+
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
* forgot to add to config.rb ([5a98934](https://github.com/STARTcloud/vagrant-zones/commit/5a98934851f78e3ec9f1a1c0580aeb3d50cab66b))
|
16
|
+
|
3
17
|
## [0.1.75](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.74...v0.1.75) (2023-11-27)
|
4
18
|
|
5
19
|
|
data/lib/vagrant-zones/config.rb
CHANGED
@@ -7,7 +7,7 @@ module VagrantPlugins
|
|
7
7
|
# This is used define the variables for the project
|
8
8
|
class Config < Vagrant.plugin('2', :config)
|
9
9
|
# rubocop:disable Layout/LineLength
|
10
|
-
attr_accessor :brand, :autoboot, :setup_method, :safe_restart, :allowed_address, :safe_shutdown, :boxshortname, :kernel, :debug, :debug_boot, :private_network, :winalcheck, :winlcheck, :lcheck, :alcheck, :snapshot_script, :diskif, :netif, :cdroms, :disk1path, :disk1size, :cpus, :cpu_configuration, :boot, :complex_cpu_conf, :memory, :vagrant_user, :vagrant_user_private_key_path, :setup_wait, :clean_shutdown_time, :dhcp4, :vagrant_user_pass, :firmware_type, :vm_type, :partition_id, :shared_disk_enabled, :shared_dir, :acpi, :os_type, :console, :consolehost, :consoleport, :console_onboot, :hostbridge, :sshport, :rdpport, :override, :additional_disks, :cloud_init_resolvers, :cloud_init_enabled, :cloud_init_dnsdomain, :cloud_init_password, :cloud_init_sshkey, :cloud_init_conf, :dns, :box, :vagrant_cloud_creator, :winbooted_string, :booted_string, :zunlockbootkey, :zunlockboot, :xhci_enabled, :login_wait
|
10
|
+
attr_accessor :brand, :autoboot, :setup_method, :safe_restart, :allowed_address, :safe_shutdown, :boxshortname, :kernel, :debug, :debug_boot, :private_network, :winalcheck, :winlcheck, :lcheck, :alcheck, :snapshot_script, :diskif, :netif, :cdroms, :disk1path, :disk1size, :cpus, :cpu_configuration, :boot, :complex_cpu_conf, :memory, :vagrant_user, :vagrant_user_private_key_path, :setup_wait, :on_demand_vnics, :clean_shutdown_time, :dhcp4, :vagrant_user_pass, :firmware_type, :vm_type, :partition_id, :shared_disk_enabled, :shared_dir, :acpi, :os_type, :console, :consolehost, :consoleport, :console_onboot, :hostbridge, :sshport, :rdpport, :override, :additional_disks, :cloud_init_resolvers, :cloud_init_enabled, :cloud_init_dnsdomain, :cloud_init_password, :cloud_init_sshkey, :cloud_init_conf, :dns, :box, :vagrant_cloud_creator, :winbooted_string, :booted_string, :zunlockbootkey, :zunlockboot, :xhci_enabled, :login_wait
|
11
11
|
|
12
12
|
# rubocop:enable Layout/LineLength
|
13
13
|
|
@@ -49,6 +49,7 @@ module VagrantPlugins
|
|
49
49
|
@hostbridge = 'i440fx'
|
50
50
|
@acpi = 'on'
|
51
51
|
@setup_wait = 90
|
52
|
+
@on_demand_vnics = 'true'
|
52
53
|
@box = UNSET_VALUE
|
53
54
|
@clean_shutdown_time = 300
|
54
55
|
@vmtype = 'production'
|
data/lib/vagrant-zones/driver.rb
CHANGED
@@ -320,12 +320,12 @@ module VagrantPlugins
|
|
320
320
|
@machine.config.vm.networks.each do |adaptertype, opts|
|
321
321
|
case adaptertype.to_s
|
322
322
|
when 'public_network'
|
323
|
-
zonenicdel(uii, opts) if state == 'delete'
|
323
|
+
zonenicdel(uii, opts) if state == 'delete' && !config.on_demand_vnics
|
324
324
|
zonecfgnicconfig(uii, opts) if state == 'config'
|
325
325
|
zoneniccreate(uii, opts) if state == 'create' && !config.on_demand_vnics
|
326
326
|
zonenicstpzloginsetup(uii, opts, config) if state == 'setup' && config.setup_method == 'zlogin'
|
327
327
|
when 'private_network'
|
328
|
-
zonenicdel(uii, opts) if state == 'delete'
|
328
|
+
zonenicdel(uii, opts) if state == 'delete' && !config.on_demand_vnics
|
329
329
|
zonedhcpentriesrem(uii, opts) if state == 'delete'
|
330
330
|
zonenatclean(uii, opts) if state == 'delete'
|
331
331
|
etherstubdelhvnic(uii, opts) if state == 'delete'
|