vagrant-xhyve 0.1.0.pre → 0.1.1.pre

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
  SHA1:
3
- metadata.gz: e86cc52b4ca725cdda0aef517879001aa4e3840e
4
- data.tar.gz: d61ffc7960f9d079c37ffef1f0f90200f45f922b
3
+ metadata.gz: 026aed68ec3bd0269080116f0a6ee1bc718b9603
4
+ data.tar.gz: 501bef7309672fb91be8029acd4dfd6e78ef5682
5
5
  SHA512:
6
- metadata.gz: 160141682ee37beed607aef94bf476e31d8af4c42742090b3755e381ecb14ecb840bd3646455327a53af6ceca7c7da42e5757a07501e97b464757172250496ec
7
- data.tar.gz: b026f9a63b2483c747c4413ddf051f81ca32029d9edf9fe60959923fb6c1b2beeb9a51f889831d93467ee0cd1549fbcbee4927e4884659d8f717847a338a5279
6
+ metadata.gz: d8094b4fbb469be7af29b1fcff8e9d8aa51e1e2db310866264009313a100a5d2dae7ccc5601f5926996d71811d8143c80008348b60e4f6b7aab53d31a0392cce
7
+ data.tar.gz: e84b220525e808de8c9eb3cedb43b60e2f3a512ddd88d2f12582ba8e0573bd4bcc7d5c91268b84c23cfbab554a38ff19a97b5e3651b1c0b4be0ed4af2aab41a8
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Vagrant xhyve Provider
2
2
 
3
- This is a [Vagrant](http://www.vagrantup.com) plugin that adds an [xhyve](http://aws.amazon.com)
3
+ This is a [Vagrant](http://www.vagrantup.com) plugin that adds an [xhyve](http://xhyve.org)
4
4
  provider to Vagrant.
5
5
 
6
6
  ## Features
@@ -28,39 +28,28 @@ $ sudo vagrant up --provider=xhyve
28
28
  ...
29
29
  ```
30
30
 
31
- Of course prior to doing this, you'll need to obtain an XHYVE-compatible
31
+ Of course prior to doing this, you'll need to obtain an xhyve-compatible
32
32
  box file for Vagrant.
33
33
 
34
34
  ## Quick Start
35
35
 
36
- After installing the plugin (instructions above), the quickest way to get
37
- started is to actually use a dummy AWS box and specify all the details
38
- manually within a `config.vm.provider` block. So first, add the dummy
39
- box using any name you want:
36
+ After installing the plugin (instructions above), you can try an xhyve ubuntu
37
+ linux example. This is similar to the example from the xhyve intro blog post.
40
38
 
41
39
  ```
42
- $ vagrant box add oldpatricka/tinycorelinux
40
+ $ mkdir xhyve-vagrant
41
+ $ cd xhyve-vagrant
42
+ $ vagrant init oldpatricka/ubuntu-14.04
43
+ $ sudo vagrant up --provider xhyve
43
44
  ...
44
45
  ```
45
46
 
46
- And then make a Vagrantfile that looks like the following, filling in
47
- your information where necessary.
47
+ This will start an Ubuntu Linux instance. you can log in with:
48
48
 
49
49
  ```
50
- Vagrant.configure("2") do |config|
51
- config.vm.box = "oldpatricka/tinycorelinux"
52
-
53
- config.vm.provider :xhyve do |xhyve|
54
- xhyve.cpus = 1
55
- xhyve.memory = 1G
56
- end
57
- end
50
+ $ sudo vagrant ssh
58
51
  ```
59
52
 
60
- And then run `sudo vagrant up --provider=xhyve`.
61
-
62
- This will start a Tiny Core Linux instance.
63
-
64
53
  ## Box Format
65
54
 
66
55
  The vagrant-xhyve box format is pretty straightforward. See
@@ -86,7 +86,7 @@ module VagrantPlugins
86
86
 
87
87
 
88
88
  xhyve_pid = xhyve_guest.start
89
- env[:ui].info(xhyve_guest.options().to_json)
89
+ @logger.debug(xhyve_guest.options().to_json)
90
90
 
91
91
  # Immediately save the ID since it is created at this point.
92
92
  env[:machine].id = xhyve_pid
@@ -51,7 +51,7 @@ module VagrantPlugins
51
51
  def finalize!
52
52
 
53
53
  @cpus = 1 if @cpus == UNSET_VALUE
54
- @memory = 1024 if @cpus == UNSET_VALUE
54
+ @memory = 1024 if @memory == UNSET_VALUE
55
55
 
56
56
  # Mark that we finalized
57
57
  @__finalized = true
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module XHYVE
3
- VERSION = '0.1.0.pre'
3
+ VERSION = '0.1.1.pre'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-xhyve
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre
4
+ version: 0.1.1.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Armstrong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-03 00:00:00.000000000 Z
11
+ date: 2016-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xhyve-ruby