Commit graph

1117 commits

Author SHA1 Message Date
Kristof Willaert
6b5c00089d Make MAC address regex check case insensitive
The regex check for the container MAC address presence in the
dnsmasq leases file is case sensitive. Dnsmasq outputs uppercase
addresses in the leases file.

As MAC addresses are generally considered case insensitive, it
makes sense to relax the regular expression check to allow for this.
2014-05-08 14:30:14 +02:00
Fabio Rehm
b210b260b1 lxc-template: Backport --rootfs fallback from old template [GH-282] 2014-05-07 17:34:00 -03:00
Fabio Rehm
3bd22955dd Update CHANGELOG 2014-05-04 20:56:01 -03:00
Fabio Rehm
5eef1524d7 driver: Use relative guest paths for synced folders
Closes GH-258
2014-05-04 20:52:00 -03:00
Fabio Rehm
b17fb7baa8 Fix broken specs 2014-05-04 20:50:04 -03:00
Fabio Rehm
856a847bc8 config: Switch default backingstore to "best" [GH-277] 2014-05-04 20:37:09 -03:00
Fabio Rehm
4c3143aa34 Merge branch 'backingstore_options' of https://github.com/tailhook/vagrant-lxc
Conflicts:
	lib/vagrant-lxc/config.rb
2014-05-03 23:42:39 -03:00
Fabio Rehm
529558e8b0 Update CHANGELOG 2014-05-03 23:38:21 -03:00
Fabio Rehm
7870d59184 Merge branch 'fix_mounts' of https://github.com/tailhook/vagrant-lxc 2014-05-03 23:36:23 -03:00
Fabio Rehm
9838d32c2d action/forward_ports: Merge port forwarding with sudo specs into a single file [GH-259] 2014-05-03 23:31:43 -03:00
Fabio Rehm
a0fe2f9cf0 action/clear_forwarded_ports: Fix privileged port detection and simplify code [GH-259] 2014-05-03 23:28:59 -03:00
Fabio Rehm
84bdb5cb22 Fix code indentation 2014-05-03 23:28:04 -03:00
Fabio Rehm
ee63d2b2ae Merge branch 'sudo-for-redir' of https://github.com/guerremdq/vagrant-lxc 2014-05-03 23:14:29 -03:00
Fabio Rehm
127b23c66c Update README 2014-05-03 23:11:37 -03:00
Fabio Rehm
1688a79efc Update CHANGELOG 2014-05-03 22:22:17 -03:00
Fabio Rehm
251dec55fe Merge branch 'master' of https://github.com/servebox/vagrant-lxc 2014-05-03 22:17:22 -03:00
Fabio Rehm
80171fcf90 Remove development environment as I havent used it neither updated on a long time 2014-05-03 21:09:50 -03:00
Fabio Rehm
9dbd5e409f Update bundle 2014-05-03 21:09:04 -03:00
guerremdq
b288c05921 Merge branch 'sudo-for-redir' of github.com:guerremdq/vagrant-lxc into sudo-for-redir 2014-04-29 00:02:55 -03:00
guerremdq
0b1fffc6e3 clean redir pid with sudo only if port is < than 1024 2014-04-29 00:02:16 -03:00
Cam Cope
a9248cb697 add backingstore parameters 2014-04-28 17:17:59 +03:00
Eric Hartmann
3b311ad840 Fix sudoers for multiple users 2014-04-23 17:49:04 +02:00
Eric Hartmann
2666f9e38d Fix argument parsing 2014-04-23 16:27:33 +02:00
Jef Mathiot
0eae5c0926 Removed unsecure calls to SudoWrapper#su_c. 2014-04-17 12:56:56 +02:00
Jef Mathiot
94e175dc07 sudoers command now creates a safe wrapper script.
Sudoers now creates a safe wrapper script that performs sanity checks on sudo :
* wrapper generated in /usr/local/bin (name includes version to allow multiple wrappers on the same system)
* sudoers command now generates a one-line file in /etc/sudoers.d
* SudoWrapper use the new wrapper
* Removed unused Config#validate method
2014-04-09 15:53:20 +02:00
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
idontdomath
d8d371984b enabled warning on the used environment for forward ports spec.
removed warn checks on test were the condition didn't apply.
2014-03-29 20:21:14 -03: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
Facundo Guerrero
36b38b7664 add expect for warn message 2014-03-27 15:25:12 -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
guerremdq
697d8bde08 only use sudo with redir when port number is lower than 1024 2014-03-23 13:39:42 -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