Commit graph

27 commits

Author SHA1 Message Date
Nick Griffiths f224fc5ea5 Fix for #336:
Subprocessed being interrupted resulted in it looking
like those commands were executing successfully but with
zero output.  Interrupting the sudo prompt would result
in any command running in sudo returning nothing and looking
like it had succeeded.  There was some clean up code in
the lxc provider that nuked vagrant container state in
the .vagrant directory if it looked like the container no
longer existed based on the result of lxc-ls.  Interrupting
this check resulted in it looking like the container not
existing, resulting in the provider code nuking the lxc dir
in .vagrant.  Voila
2017-12-16 12:07:11 +13:00
danielh d11b6f2dc7 Added lxc-create to the error message
Added the command that vagrant-lxc is actually trying to run when it can't find the lxc-create command
2015-09-20 15:30:09 +12:00
Fabio Rehm 447d0dfc42 Experimental support for private networking [GH-298] 2015-01-11 20:59:38 -02:00
Fabio Rehm 28bdbe371d Merge remote-tracking branch 'origin/private-networks' into next 2015-01-08 02:28:45 -02:00
Fabio Rehm 8b37056294 provider: Show an user friendly message when trying to use the plugin on non-Linux environments 2015-01-08 02:17:32 -02:00
Azamat Khudaygulov f454924a59 The path of storage containers taken from lxc-config, instead of using a constant for lxc>=1.0.0.
* for lxc to 1.0.0 using constant Vagrant::LXC::Driver::DEFAULT_CONTAINERS_PATH
 * change method Vagrant::LXC::Driver::CLI#version to call lxc-create if lxc-version command not exists (to lxc version 1.0.0)
2014-09-23 16:07:03 +04:00
Fabio Rehm a3252c3593 Update warning about networks 2014-06-09 00:56:27 -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 fca401ac50 Remove unused locale 2014-03-13 00:57:36 -03:00
Fabio Rehm 4fbd7c0182 core: Move WaitForCommunicator to backports and make it generic 2014-03-13 00:57:36 -03:00
Fabio Rehm 7e00b96520 Show something meaningful to the user in case the container already exists [GH-132] 2014-02-02 19:27:08 -02:00
Fabio Rehm b86b83eba1 Fix WarnNetworks action [GH-154] 2013-11-06 21:21:16 -02:00
Fabio Rehm 6b5db24a6b Better than a note on the readme is a warning for users about unsupported private / public networks :)
Closes GH-154
2013-11-06 20:40:08 -02:00
Fabio Rehm 18bb9482d5 Nicely handles missing templates path (fixes GH-139) 2013-09-28 02:58:38 -03:00
Fabio Rehm 7511ee41f0 Just a reminder 2013-09-28 01:06:14 -03:00
Fabio Rehm 97f6edeed8 Error out if LXC is not installed
This is enough to close #11
2013-07-28 02:55:00 -03:00
Fabio Rehm ee37b9e2e7 Merge branch 'check-for-redir' of https://github.com/zeroem/vagrant-lxc 2013-07-21 21:06:14 -03:00
Darrell Hamilton ad41c445a4 Check for redir before forwarding ports
Make a system call out to `which` to see if redir exists on the PATH
before trying to forward ports.  Raises a VagrantError if it does not.
2013-07-14 22:42:49 -07:00
Fabio Rehm b97081be0d Add missing locale key for stopped status
Fixes #97
2013-07-08 13:29:16 -03:00
Fabio Rehm dcc0ce281f Lets be clear about box version error 2013-06-08 01:13:51 -03:00
Fabio Rehm a12391638a Change logging to match lxc "verbiage"
This should make it clear that we are dealing with LXC containers and
not VBox VMs.
2013-04-18 03:27:27 -03:00
Fabio Rehm ecc127321f Get rid of dependency on VBox provider for displaying some messages to the user 2013-04-18 03:01:01 -03:00
Fabio Rehm ead9dd4980 Add missing I18n entry used on packaging 2013-03-30 19:23:32 -03:00
Fabio Rehm 4de5411a67 Logging output reviewed (closes #2) 2013-03-11 00:13:48 -03:00
Fabio Rehm 759b1c5f80 Extract rootfs tar contents into a tmp folder to avoid headaches and
check if a lxc-template file was included on .box
2013-03-08 00:55:58 -03:00
Fabio Rehm 8b8bfe739b lxc-create: check 2013-03-01 21:52:13 -03:00
Fabio Rehm 7e48b572d7 Add vagrant-lxc locales to I18n load path 2013-03-01 20:42:56 -03:00