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
Marcin Kulisz
e84f9e2b4a
Added dnsmasq leases file location for libvirt
2014-03-13 09:49:24 +00:00
Fabio Rehm
2f401b5b6c
Update CHANGELOG
2014-03-13 01:12:54 -03:00
Fabio Rehm
f20f6aaa40
Merge pull request #249 from fgrehm/vagrant-1.5
...
Support for Vagrant 1.5
2014-03-13 01:03:06 -03:00
Fabio Rehm
14430908f8
🤘 Yeah baby, we are getting to 1.0 🤘
2014-03-13 00:57:37 -03:00
Fabio Rehm
c48261a5e5
Update bundle
2014-03-13 00:57:37 -03:00
Fabio Rehm
0aac50fa76
package: Add spec to check that the plugin does not blow up in case the new lxc-config file is not present
2014-03-13 00:57:37 -03:00
Fabio Rehm
165f647c2d
This will be taken care later on
2014-03-13 00:57:37 -03:00
Fabio Rehm
38ae9441fc
package: lxc-config should be included when repackaging boxes
2014-03-13 00:57:37 -03:00
Fabio Rehm
100d5223ce
Disable Ruby 1.9.3 on travis and begin testing on 2.1.1
2014-03-13 00:57:37 -03:00
Fabio Rehm
61002b9bb8
core: Remove actions that check for containers statuses
2014-03-13 00:57:37 -03:00
Fabio Rehm
35741ba5c5
I think it is safe to remove this now \o/
2014-03-13 00:57:37 -03:00
Fabio Rehm
803e446dc5
backports: Add IsState
2014-03-13 00:57:37 -03:00