Commit graph

888 commits

Author SHA1 Message Date
Paul Colomiets
9f9cb1c791 Implement sorting of synced_folders
It's useful if you want to mount something inside /vagrant or if you
have some another mount in some synced folder.

This piece of code is extracted from virtualbox driver.
2014-04-09 16:16:56 +03:00
Fabio Rehm
47cf361b98 Up dev version 2014-04-06 18:52:19 -03:00
Fabio Rehm
8c6e9724bd Update release date on changelog and add instructions for installing the alpha version of the plugin 2014-04-06 18:45:49 -03:00
Fabio Rehm
bc6e2e9d7c v1.0.0.alpha.1 2014-04-04 16:28:57 -03:00
Fabio Rehm
b35e5dbb55 Update gemfile 2014-04-04 16:27:00 -03:00
Fabio Rehm
69ba4d8f70 Merge pull request #263 from Sicness/fix-readme
Fix the command vagrant box add in README.md
2014-04-01 15:44:07 -03:00
Anton Balashov
2260282a7c Fix the command vagrant box add in README.md
sicness@abalashov-nt /tmp $ vagrant box init precise64 http://bit.ly/vagrant-lxc-precise64-2013-10-23
Usage: vagrant box <command> [<args>]

Available subcommands:
     add
     list
     remove
     repackage

For help on any individual command run `vagrant box COMMAND -h`
sicness@abalashov-nt /tmp $ vagrant init precise64 http://bit.ly/vagrant-lxc-precise64-2013-10-23
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
2014-03-30 15:16:50 +04:00
Fabio Rehm
7e9d790f6a command/sudoers: Minor tweaks to make the generated file work with latest changes 2014-03-27 20:04:38 -03:00
Fabio Rehm
9b6d1bb117 Merge pull request #261 from fgrehm/extract-base-boxes-to-separate-repo
Extract base boxes to separate repo
2014-03-27 19:47:01 -03:00
Fabio Rehm
6508324d6d Update README 2014-03-27 19:44:33 -03:00
Fabio Rehm
962d87b72e boxes: Move code out to https://github.com/fgrehm/vagrant-lxc-base-boxes 2014-03-25 00:26:42 -03:00
Fabio Rehm
457e75ca96 boxes: Almost done with extraction 2014-03-25 00:19:04 -03:00
Fabio Rehm
12df76752d Update contribution guidelines 2014-03-25 00:03:26 -03:00
Fabio Rehm
5d255dec30 boxes: Add license 2014-03-24 23:50:55 -03:00
Fabio Rehm
c13f4591b1 boxes: Preparation to extract to a separate repository 2014-03-24 23:50:55 -03:00
Fabio Rehm
328477172e command/sudoers: Add missing -p to mkdir command 2014-03-24 23:50:38 -03:00
Fabio Rehm
28bd6c87ef Merge pull request #260 from jefmathiot/master
Moved to Ruby >=1.9 hash syntax to improve readability
2014-03-21 21:29:53 -03:00
Jef Mathiot
5a56b72360 * Ruby >1.9 hash syntax
* Improved comment on Vagrant::Registry.keys
2014-03-22 00:58:36 +01:00
Fabio Rehm
77beb13906 Lets be nice with < 1.0.0 users 2014-03-21 20:17:52 -03:00
Fabio Rehm
c7c1d8a1c6 Update changelog 2014-03-21 20:13:43 -03:00
Fabio Rehm
8b1573c536 doc: Let everyone know about the new vagrant lxc sudoers command 2014-03-21 20:04:35 -03:00
Fabio Rehm
17a6a35c92 Remove Vagrantfile from project root
We already have one for development purposes on /development and
`Vagrant.require_plugin` has been deprecated on Vagrant 1.5+
2014-03-21 19:59:50 -03:00
Fabio Rehm
64de0fca3c command/sudoers: Mention what is the default value for the user and add a REFACTOR note 2014-03-21 19:53:49 -03:00
Fabio Rehm
02fefd10c0 command/sudoers: Nitpick
* Use Ruby 1.9+ hash syntax
* Use % as the BOXES placeholder as it is the same symbol used for I18n placeholders as well
2014-03-21 19:48:36 -03:00
Fabio Rehm
19bccc9ca5 ✂️ whitespace 2014-03-21 19:38:56 -03:00
Fabio Rehm
b7dbfc84af Merge branch 'master' of github.com:jefmathiot/vagrant-lxc
Conflicts:
	lib/vagrant-lxc/plugin.rb
2014-03-21 19:38:35 -03:00
Fabio Rehm
674e0cef4e I think it is safe to get rid of this by now 2014-03-21 19:32:16 -03:00
Fabio Rehm
c2d0e0a02c spec: Embrace rspec3 2014-03-21 19:31:34 -03:00
Fabio Rehm
41716e9100 synced_folder: Fix UI warn when group / owner are specified on Vagrantfile 2014-03-21 19:31:14 -03:00
Fabio Rehm
164afc7839 package: Nicely handle optional lxc-template on base boxes when packaging 2014-03-21 19:30:28 -03:00
Fabio Rehm
44ad630db7 boxes: Remove redundant lxc from intermediate container names 2014-03-21 19:27:13 -03:00
Fabio Rehm
dd31e1f74a boxes: Disable NFS client installation on Ubuntu 13.04 / 13.10 / 14.04
References GH-218
2014-03-21 17:51:02 -03:00
Fabio Rehm
a8a2f55f21 core: Update vagrant-spec.config 2014-03-21 17:47:49 -03:00
Fabio Rehm
9849426078 boxes: Add task for building a box for usage with acceptance specs 2014-03-21 17:47:32 -03:00
Jef Mathiot
8590c87132 Created an "lxc sudoers" command to create sudoers file for a given user (defaults to current one). 2014-03-16 18:59:18 +01:00
Fabio Rehm
2e2c2fad56 Convert specs to RSpec 2.99.0.beta2 syntax with Transpec
This conversion is done by Transpec 1.10.2 with the following command:
    transpec

* 46 conversions
    from: obj.should
      to: expect(obj).to

* 20 conversions
    from: obj.stub(:message)
      to: allow(obj).to receive(:message)

* 10 conversions
    from: == expected
      to: eq(expected)

* 6 conversions
    from: obj.should_receive(:message)
      to: expect(obj).to receive(:message)

* 5 conversions
    from: obj.should_not
      to: expect(obj).not_to

* 5 conversions
    from: Klass.any_instance.stub(:message) { |arg| }
      to: Klass.any_instance.stub(:message) { |instance, arg| }

* 5 conversions
    from: Klass.any_instance.stub(:message)
      to: allow_any_instance_of(Klass).to receive(:message)

* 1 conversion
    from: lambda { }.should
      to: expect { }.to
2014-03-14 11:38:54 -03:00
Fabio Rehm
60f3a67bb0 Make sure Vagrant::LXC.source_root is available to all specs 2014-03-14 11:34:46 -03:00
Fabio Rehm
2cdbf84848 I've tested this by hand and it will take us some effort to get rid of the excessive mocking I wrote 2014-03-14 11:21:45 -03:00
Fabio Rehm
eb274e879c Fix spec 2014-03-14 11:21:45 -03:00
Fabio Rehm
64fbe180f1 Update CHANGELOG.md 2014-03-14 10:58:05 -03:00
Fabio Rehm
ebdf50297f lxc-template: ensure /var/lock/subsys exists before creating lock 2014-03-14 00:32:47 -03:00
Fabio Rehm
4f49be03ad core: Make lxc-template optional [GH-254] 2014-03-14 00:32:03 -03:00
Fabio Rehm
da96e8c1a4 synced_folder: Fix mount_options on Vagrant 1.4+ 2014-03-14 00:21:21 -03:00
Fabio Rehm
d6a22c9f88 synced_folder: Warn in case :group or :owner are specified [GH-196] 2014-03-13 23:48:46 -03:00
Fabio Rehm
d0be2f3dbe Update CHANGELOG 2014-03-13 23:39:48 -03:00
Fabio Rehm
20d4547044 synced_folder: Support for mount_options 2014-03-13 23:36:15 -03:00
Fabio Rehm
623eb1570a This is no longer needed 2014-03-13 23:11:33 -03:00
Fabio Rehm
03907eeb62 Note GH-251 and GH-253 on CHANGELOG 2014-03-13 23:10:41 -03:00
Fabio Rehm
c9fe9e552e Merge branch 'master' of github.com:vorlock/vagrant-lxc 2014-03-13 23:07:55 -03:00
Fabio Rehm
ad63452651 Nitpick 2014-03-13 23:07:05 -03:00