vagrant-zones 0.1.104 → 0.1.106

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: 9461268c14597c3e81ed5fe42bc509a860a37934d665319e1ecec7680e3564f4
4
- data.tar.gz: 676d655c11b3da039f349ce27bfee6753783ecb0be0c17b6b3e068004fe4aa86
3
+ metadata.gz: 75fc486d50eb83e1957a52acf8b8ad7233a8ebda016d862c28de8a6834b453b1
4
+ data.tar.gz: e0aff97fb0d794b489a47cf5a29e996491d275a74e9ddbcd4471988149f9256c
5
5
  SHA512:
6
- metadata.gz: 8a6625154e93c8c732446cadca7e6f7184025270bd66b3abb18f6a2e3e395f57b95c2832a5dc64ae6a8eb6d7191c5936ac9e9c10aa88c7e68284440b1eb68cfb
7
- data.tar.gz: 5e6618d61f00e4530f1bcceea9723429919a2f396bfd5317ff40ec13b5b989b6c62d20581fa76f59d436341a36a1d53c174957546140880eb05c1f8afdb31e7b
6
+ metadata.gz: 50e7c514ff49b2f252b7a2fa9ee9c9fcf1ac91d71b08ad887d72e5917fa68cdaff6309b51bcae1900f9af7cf033315b206fa860efb4b11958910be6a91e9012e
7
+ data.tar.gz: ffe4743cd4eb8d384f6ceb4c03f33577f4c15f06a898062d04f9a09bf6c452547f480029041e0756b80a4803be6e030f3fb73c4668b39acf5d91fcffb02cdcc5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.106](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.105...v0.1.106) (2025-09-22)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * windows profile wait ([0061bdb](https://github.com/STARTcloud/vagrant-zones/commit/0061bdb2310f1b5d5da1b57ca4edc31b2cd5dd56))
9
+ * windows profile wait ([03ea717](https://github.com/STARTcloud/vagrant-zones/commit/03ea7176d6bb9006ec193968c422a14f379e027a))
10
+
11
+ ## [0.1.105](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.104...v0.1.105) (2025-09-21)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * metric ([f5582c1](https://github.com/STARTcloud/vagrant-zones/commit/f5582c19f14d3191ca051b5bbcf814fef8e65775))
17
+
3
18
  ## [0.1.104](https://github.com/STARTcloud/vagrant-zones/compare/v0.1.103...v0.1.104) (2025-09-19)
4
19
 
5
20
 
@@ -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, :post_provision_boot, :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
10
+ attr_accessor :brand, :autoboot, :setup_method, :safe_restart, :allowed_address, :post_provision_boot, :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, :windows_profile_wait
11
11
 
12
12
  # rubocop:enable Layout/LineLength
13
13
 
@@ -63,6 +63,7 @@ module VagrantPlugins
63
63
  @xhci_enabled = 'off'
64
64
  @override = false
65
65
  @login_wait = 5
66
+ @windows_profile_wait = 120
66
67
  @cloud_init_enabled = false
67
68
  @cloud_init_conf = 'on'
68
69
  @cloud_init_dnsdomain = nil
@@ -1340,11 +1340,13 @@ module VagrantPlugins
1340
1340
 
1341
1341
  ## This setups the Windows Networking via Zlogin
1342
1342
  def zoneniczloginsetup_windows(uii, opts, _mac)
1343
+ config = @machine.provider_config
1343
1344
  ip = ipaddress(uii, opts)
1344
1345
  vnic_name = vname(uii, opts)
1345
1346
  defrouter = opts[:gateway].to_s
1346
1347
  uii.info(I18n.t('vagrant_zones.configure_win_interface_using_vnic'))
1347
- sleep(60)
1348
+ uii.info("#{I18n.t('vagrant_zones.windows_profile_wait')} #{config.windows_profile_wait} seconds")
1349
+ sleep(config.windows_profile_wait)
1348
1350
 
1349
1351
  # Get the MAC address for this VNIC (if set to auto)
1350
1352
  mac = macaddress(uii, opts)
@@ -1398,11 +1400,9 @@ module VagrantPlugins
1398
1400
  rename_adapter = %(netsh interface set interface name="#{adapter_name}" newname="#{vnic_name}")
1399
1401
  uii.info(I18n.t('vagrant_zones.win_applied_rename_adapter')) if zlogin(uii, rename_adapter)
1400
1402
 
1401
- # Configure the interface with IP, mask, and gateway and metric
1403
+ # Configure the interface with IP, mask, and gateway
1402
1404
  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
-
1405
+ cmd = %(netsh interface ipv4 set address name="#{vnic_name}" static #{ip} #{opts[:netmask]} #{defrouter} #{metric_param})
1406
1406
  uii.info(I18n.t('vagrant_zones.win_applied_static')) if zlogin(uii, cmd)
1407
1407
 
1408
1408
  # Configure DNS if provided
@@ -2,7 +2,7 @@
2
2
 
3
3
  module VagrantPlugins
4
4
  module ProviderZone
5
- VERSION = '0.1.104'
5
+ VERSION = '0.1.106'
6
6
  NAME = 'vagrant-zones'
7
7
  end
8
8
  end
data/locales/en.yml CHANGED
@@ -49,7 +49,9 @@ en:
49
49
  configure_interface_using_vnic: |-
50
50
  - Configuring the interface in the zone for VNIC using netplan:
51
51
  configure_win_interface_using_vnic: |-
52
- - Waiting 60 seconds then configuring the Windows network interface in the zone:
52
+ - Configuring the Windows network interface in the zone:
53
+ windows_profile_wait: |-
54
+ - Waiting for Windows user profile creation:
53
55
  configure_interface_using_vnic_dladm: |-
54
56
  - Configuring the interface in the zone for VNIC using dladm:
55
57
  os_detect: |-
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.104
4
+ version: 0.1.106
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-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n