virtualbox_WSL2 0.1.2 → 0.1.3
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/Gemfile +3 -1
- data/README.md +3 -3
- data/Vagrantfile +11 -0
- data/lib/virtualbox_WSL2/version.rb +1 -1
- data/virtualbox_WSL2.gemspec +2 -4
- metadata +8 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ee23a71acd478021873fa338fe4c3801d3121658fe56cd96aeb2791264b36d8
|
4
|
+
data.tar.gz: e26500adc6176d2a7acdc86567806a179c284d370373bca5c0a9dd0d1b1112f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a43311623266b8fae201b64532c0abc61162df6b0672082c42400f0421ac87eb2a060cb9f84a6ca4a0008e2e58fec0b2f0a52b783fd7e6b2d97093b51df21fc
|
7
|
+
data.tar.gz: 9e5e2c60d4b3952c447fb8deace9509e227f024f9353ad76450b92a61c755f1e7e410a0b6b15034b184efc3c8106b862a0e5cf3acc556771eb0035d38261b76b
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
A plugin for Vagrant that fixes `vagrant up` and `vagrant ssh` when executed from WSL2.
|
4
4
|
|
5
|
-
Two things happen on top of normal
|
6
|
-
- the second port forwarding entry
|
7
|
-
- Windows IP
|
5
|
+
Two things happen on top of normal Vagrant behavior:
|
6
|
+
- the second port forwarding entry is created on 0.0.0.0 that allows to ssh to VirtualBox VM from WSL2 on Windows IP.
|
7
|
+
- Windows IP is automatically selected for `vagrant ssh` command instean of localhost.
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
data/Vagrantfile
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
Vagrant.configure("2") do |config|
|
2
|
+
config.vm.synced_folder '.', '/vagrant', disabled: true
|
3
|
+
|
4
|
+
config.vm.define "box1" do |box1|
|
5
|
+
box1.vm.box = "hashicorp/precise64"
|
6
|
+
end
|
7
|
+
|
8
|
+
config.vm.define "box2" do |box2|
|
9
|
+
box2.vm.box = "hashicorp/precise64"
|
10
|
+
end
|
11
|
+
end
|
data/virtualbox_WSL2.gemspec
CHANGED
@@ -10,8 +10,8 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.authors = ["Andrei Lapin"]
|
11
11
|
spec.email = ["karandash8@gmail.com"]
|
12
12
|
|
13
|
-
spec.summary = "Plugin allows to properly use VirtualBox as
|
14
|
-
spec.description = "Two things happen on top of normal
|
13
|
+
spec.summary = "Plugin allows to properly use VirtualBox as Vagrant provider on WSL2."
|
14
|
+
spec.description = "Two things happen on top of normal Vagrant behavior: (1) the second port forwarding entry is created on 0.0.0.0 that allows to ssh to VirtualBox VM from WSL2 on Windows IP. (2) Windows IP is automatically selected for `vagrant ssh` command instean of localhost."
|
15
15
|
spec.homepage = "http://www.vagrantup.com"
|
16
16
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
17
17
|
|
@@ -27,8 +27,6 @@ Gem::Specification.new do |spec|
|
|
27
27
|
# Uncomment to register a new dependency of your gem
|
28
28
|
# spec.add_dependency "example-gem", "~> 1.0"
|
29
29
|
spec.add_dependency "rake"
|
30
|
-
spec.add_development_dependency "ruby-debug-ide"
|
31
|
-
spec.add_development_dependency "debase"
|
32
30
|
|
33
31
|
# For more information and examples about making a new gem, checkout our
|
34
32
|
# guide at: https://bundler.io/guides/creating_gem.html
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: virtualbox_WSL2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrei Lapin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -24,38 +24,10 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: debase
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
description: 'Two things happen on top of normal vagrant behavior: (1) the second
|
56
|
-
port forwarding entry will be created on 0.0.0.0 that allows to ssh to VirtualBox
|
57
|
-
VM from WSL2 on Windows IP. (2) Windows IP will be automatically selected for `vagrant
|
58
|
-
ssh` command instean of localhost.'
|
27
|
+
description: 'Two things happen on top of normal Vagrant behavior: (1) the second
|
28
|
+
port forwarding entry is created on 0.0.0.0 that allows to ssh to VirtualBox VM
|
29
|
+
from WSL2 on Windows IP. (2) Windows IP is automatically selected for `vagrant ssh`
|
30
|
+
command instean of localhost.'
|
59
31
|
email:
|
60
32
|
- karandash8@gmail.com
|
61
33
|
executables: []
|
@@ -67,6 +39,7 @@ files:
|
|
67
39
|
- LICENSE
|
68
40
|
- README.md
|
69
41
|
- Rakefile
|
42
|
+
- Vagrantfile
|
70
43
|
- bin/console
|
71
44
|
- bin/setup
|
72
45
|
- lib/virtualbox_WSL2.rb
|
@@ -94,5 +67,5 @@ requirements: []
|
|
94
67
|
rubygems_version: 3.1.4
|
95
68
|
signing_key:
|
96
69
|
specification_version: 4
|
97
|
-
summary: Plugin allows to properly use VirtualBox as
|
70
|
+
summary: Plugin allows to properly use VirtualBox as Vagrant provider on WSL2.
|
98
71
|
test_files: []
|