vagrant_bootstrap 0.2.4 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'optparse'
|
2
|
+
require 'vagrant'
|
3
|
+
require 'vagrant_bootstrap/tap_bridge'
|
4
|
+
|
5
|
+
module VagrantBootstrap
|
6
|
+
module Commands
|
7
|
+
class Tap < Vagrant::Command::Base
|
8
|
+
def execute
|
9
|
+
opts = OptionParser.new do |o|
|
10
|
+
o.banner = 'Usage: vagrant tap'
|
11
|
+
end
|
12
|
+
VagrantBootstrap::TapBridge.new
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/vagrant_init.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'vagrant'
|
2
2
|
require 'vagrant_bootstrap/commands/bootstrap'
|
3
|
+
require 'vagrant_bootstrap/commands/tap'
|
3
4
|
require 'vagrant_bootstrap/action/destroy'
|
4
5
|
require 'pathname'
|
5
6
|
|
@@ -21,6 +22,7 @@ module Vagrant
|
|
21
22
|
end
|
22
23
|
|
23
24
|
Vagrant.commands.register(:bootstrap) { VagrantBootstrap::Commands::Bootstrap }
|
25
|
+
Vagrant.commands.register(:tap) { VagrantBootstrap::Commands::Tap }
|
24
26
|
|
25
27
|
Vagrant.actions[:destroy].insert_after(
|
26
28
|
Vagrant::Action::VM::Destroy,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant_bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-10-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: vagrant
|
@@ -59,6 +59,7 @@ files:
|
|
59
59
|
- lib/vagrant_bootstrap/action/destroy.rb
|
60
60
|
- lib/vagrant_bootstrap/bootstrap.rb
|
61
61
|
- lib/vagrant_bootstrap/commands/bootstrap.rb
|
62
|
+
- lib/vagrant_bootstrap/commands/tap.rb
|
62
63
|
- lib/vagrant_bootstrap/tap_bridge.rb
|
63
64
|
- lib/vagrant_bootstrap/version.rb
|
64
65
|
- lib/vagrant_init.rb
|