vagrant-guestip 0.1 → 0.2

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
  SHA1:
3
- metadata.gz: 6b272b9555306bdebf0cf262d1f2f334681ee482
4
- data.tar.gz: 939d6c1f9815126106ebd43efe7a3ce063c2a578
3
+ metadata.gz: 012f7943490e23457d65ef517be14c387cd4bc76
4
+ data.tar.gz: 0a113808664935108d173c7f0d5c914f4b6761e4
5
5
  SHA512:
6
- metadata.gz: 2c93878009585e8ca03f1588a63f87873cae2dd44951c3f12745f53e0efecee9f033ce292c054b0c19801633b5daf004820422f8b10f6b68921d33ca16203e24
7
- data.tar.gz: f5cf5ee281bb96d4dd228b45439136073fa35005b4eec7eb44a6a58b191ec0336221fc193c5c1a5ebd106a05dfb0c489130d2da4901619d9ad7da03b734c6fea
6
+ metadata.gz: d685b707a01a1faf9753ed967f5d201053d15f7bbf4b5106d29e4f1ca42db9fef16d76f2304a52ff9924fb2e65bdbd089456fad11cea0df8c5b0562302a22042
7
+ data.tar.gz: c1a69ce789719cb06b2d66633eaafd6587d3471b33e06fb53f2451b3362b947f3504bb5c75ecc852e9bc3ece8c8772f4c8f230fc1549ffc189c9dd51c059cf21
data/README.md CHANGED
@@ -1,9 +1,13 @@
1
1
  # vagrant-guestip plugin
2
+ This plugin allows obtaining an IP address of a guest machine.
3
+ It's compatible with machines started remotely, i.e. by vSphere or AWS providers.
2
4
 
3
5
  ## Installation
4
-
5
6
  $ vagrant plugin install vagrant-guestip
6
7
 
7
8
  ## Usage
9
+ $ vagrant guestip
8
10
 
9
- $ vagrant ip
11
+ ## Using with TeamCity
12
+ Running the command under JetBrains [TeamCity](https://www.jetbrains.com/teamcity/) build, it creates `VAGRANT_GUESTIP` environment variable which can be referenced by following build scripts.
13
+ **Note:** the variable is added by a [service message](https://confluence.jetbrains.com/display/TCD9/Build+Script+Interaction+with+TeamCity). It requires the command and a build script are placed into separate build steps.
@@ -8,7 +8,7 @@ module VagrantPlugins
8
8
  def execute
9
9
  with_target_vms(nil, {:single_target=>true}) do |machine|
10
10
  ip = machine.guest.capability(:read_ip_address)
11
- message = ENV['TEAMCITY_VERSION'] ? "##teamcity[setParameter name='env.VAGRANT_IP' value='#{ip}']" : ip
11
+ message = ENV['TEAMCITY_VERSION'] ? "##teamcity[setParameter name='env.VAGRANT_GUESTIP' value='#{ip}']" : ip
12
12
  @env.ui.info(message)
13
13
  end
14
14
  end
@@ -3,7 +3,7 @@ module VagrantPlugins
3
3
  class Plugin < Vagrant.plugin(2)
4
4
  name 'guestip'
5
5
 
6
- command('ip', primary: false) do
6
+ command('guestip', primary: false) do
7
7
  require_relative 'command'
8
8
  Command
9
9
  end
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'vagrant-guestip'
3
- spec.version = '0.1'
3
+ spec.version = '0.2'
4
4
  spec.authors = ['Michael Kuzmin']
5
5
  spec.email = ['mkuzmin@gmail.com']
6
- spec.summary = 'Vagrant plugin for obtaining IP address of guest machine'
7
- spec.homepage = 'https://github.com/mkuzmin/vagrant-gusetip'
6
+ spec.summary = 'Vagrant plugin for obtaining IP address of a guest machine'
7
+ spec.homepage = 'https://github.com/mkuzmin/vagrant-guestip'
8
8
  spec.license = 'MIT'
9
9
 
10
10
  spec.files = `git ls-files -z`.split("\x0")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-guestip
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Kuzmin
@@ -53,7 +53,7 @@ files:
53
53
  - lib/command.rb
54
54
  - lib/vagrant-guestip.rb
55
55
  - vagrant-guestip.gemspec
56
- homepage: https://github.com/mkuzmin/vagrant-gusetip
56
+ homepage: https://github.com/mkuzmin/vagrant-guestip
57
57
  licenses:
58
58
  - MIT
59
59
  metadata: {}
@@ -76,5 +76,6 @@ rubyforge_project:
76
76
  rubygems_version: 2.2.2
77
77
  signing_key:
78
78
  specification_version: 4
79
- summary: Vagrant plugin for obtaining IP address of guest machine
79
+ summary: Vagrant plugin for obtaining IP address of a guest machine
80
80
  test_files: []
81
+ has_rdoc: