vagrant-uplift 0.2.1902.40 → 0.2.1902.42

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff1512503cf527b81c72c10fa13d6a315a9ec89ac2a6cad7f7c98133b1ad4121
4
- data.tar.gz: a8f700c758d7dc0664dc8576b6d20c0ffa35a85f9b43f0c2cfde56cecd67dea0
3
+ metadata.gz: 46a2c60fa7da6384382d4bd11ede0d83ec3ec9b775f7e362b870fdba93c8514d
4
+ data.tar.gz: 0591db1fe355cfadeb1e49bd7d16f618594d3d14a9721894d4366dea0cdfaa4a
5
5
  SHA512:
6
- metadata.gz: a7b33dd12795cf4f40c6230bf6a8159aa349e13b34b1c061c28ee5ba1f9c9bbea65f6457139469315512a47682e4dc25cdecb4b43ef796318f9279e0385c122f
7
- data.tar.gz: f0b53315307a96637fba087948f6d21f0d149f5e084b4b6beba6153209b22d959ed23fbd7b0068d6ef077f916298a5c7d86aca749ff0765b7f649be57b61faa3
6
+ metadata.gz: 232114de8cc9c8dcea64e1a29051e890ed7f9767b17f6988ccd96091c5883ae980fe674615526095f48bfb590e4ce9703099d0b27711f2df824dfed4a39c4a33
7
+ data.tar.gz: 1ea28ce600e704585ca1e416fbcccbac8bbc91adb56ed8cb473fd37da32cbc3bc75b81280b30f20e833a5f810528a9628322a368e2611f1527e7c64a39b47c49
@@ -17,7 +17,7 @@ module VagrantPlugins
17
17
  @@ai_client = nil
18
18
  @@ai_config_id = nil
19
19
 
20
- @@plugin_version = '0.2.1902.40'
20
+ @@plugin_version = '0.2.1902.42'
21
21
 
22
22
  @@supported_version = nil
23
23
 
@@ -564,7 +564,7 @@ module VagrantPlugins
564
564
 
565
565
  require_string(hostname)
566
566
 
567
- log_info_light("#{vm_name}: setitng hostname: #{hostname}")
567
+ log_info_light("#{vm_name}: setting hostname: #{hostname}")
568
568
  vm_config.vm.hostname = hostname
569
569
  end
570
570
 
@@ -584,6 +584,26 @@ module VagrantPlugins
584
584
  vm_config.vm.network :private_network, ip: ip, gateway: gateway
585
585
  end
586
586
 
587
+ # Configures public network for the vagrant box.
588
+ #
589
+ # @param vm_name [String] vagrant vm name
590
+ # @param vm_config [Vagrant::Config::V2::Root] vagrant vm config
591
+ # @param ip [String] ip value
592
+ def set_public_network(vm_name, vm_config, ip)
593
+
594
+ require_string(vm_name)
595
+ require_vagrant_config(vm_config)
596
+
597
+ if ip.to_s.empty?
598
+ log_info(" - skipping public network ip setup")
599
+ return
600
+ else
601
+ log_info(" - public network: ip: #{ip}")
602
+ end
603
+
604
+ vm_config.vm.network :public_network, ip: ip
605
+ end
606
+
587
607
  # Configures client network for the vagrant box. Use for VMs to be joined to domain controller.
588
608
  #
589
609
  # @param vm_name [String] vagrant vm name
@@ -4,7 +4,7 @@ require 'fileutils'
4
4
  module VagrantPlugins
5
5
 
6
6
  module Uplift
7
- VERSION = "0.2.1902.40"
7
+ VERSION = "0.2.1902.42"
8
8
  end
9
9
 
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-uplift
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1902.40
4
+ version: 0.2.1902.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - SubPointSupport
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-18 00:00:00.000000000 Z
11
+ date: 2019-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler