Commit graph

930 commits

Author SHA1 Message Date
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
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
guerremdq
fd948f8552 Add sudo for redir 2014-03-20 17:01:45 -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
Fabio Rehm
5df28390e2 Merge branch 'utsname-hostname' of github.com:fpletz/vagrant-lxc 2014-03-13 23:05:47 -03:00
Fabio Rehm
dfd93d087c action: Keep old behavior of erroring on vagrant ssh -c instead of just showing a message 2014-03-13 23:02:18 -03:00
Fabio Rehm
bfb9b6be73 Note GH-151 on CHANGELOG 2014-03-13 23:01:00 -03:00
Fabio Rehm
c69b1bd014 gemspec: Add post install message 2014-03-13 22:57:37 -03:00
Fabio Rehm
e3f0e6df32 Lock vagrant to 1.5.1 2014-03-13 22:51:28 -03:00
Franz Pletz
be12f11ced Set container utsname to configured hostname per default
Previously, the utsname of a machine was set to the vagrant machine ID.
As the utsname represents the hostname of the machine and is independent
from the name of the actual LXC container, the hostname that was
specified in the Vagrantfile should be used instead. If no hostname is
provided, the machine ID will be used like before.

Additionally, this will trigger the DHCP client in the container to send
the correct hostname to the DHCP server on the first request at boot.
Vagrant sets the configured hostname only after the network is up. If
for example automatic DNS updates are configured, the right DNS record
will be created every time.
2014-03-13 19:06:05 +01:00
Fabio Rehm
5b24cf6136 Add section about Vagrant 1.5 compatibility 2014-03-13 10:33:37 -03:00
Fabio Rehm
7e79d59365 core: Fix vagrant ssh [GH-252] 2014-03-13 09:42:39 -03:00