Robin Gloster
993e430ccc
Use /usr/bin/env CMD instead of hardcoded paths
...
This fixes commands that currently rely on hardcoded paths and break
on systems like NixOS that don't have all binaries in /usr/bin etc.
2015-08-28 14:58:16 +02:00
Robin Gloster
ea99d13f76
Fix test on NixOS
...
Tempfile can be created in /run, too.
2015-08-28 14:58:16 +02:00
Robin Gloster
fddd8cc257
Update gems to resolve dependencies on NixOS
2015-08-28 14:58:16 +02:00
Robin Gloster
611a86ce84
do not copy the lxc template instead use the full path
2015-08-28 14:58:16 +02:00
Robin Gloster
e5a55d1020
fix shebang in template
2015-08-28 14:58:16 +02:00
Antonio Terceiro
64f561073c
forward_ports: bind to localhost only by default
...
This has been raised as security concern on vagrant itself, and fixed
there some time ago.
2015-08-28 14:58:16 +02:00
Michael Stucki
7eb3be37de
driver.rb: Check for correct bridge device name
2015-08-25 10:20:21 +02:00
Michael Stucki
31bb4eadf9
Move away from using ifconfig
to ip link
for enabling / disabling bridge devices
2015-08-25 10:18:14 +02:00
Michael Stucki
c3508870fd
Private networking: Create bridge if it is missing
2015-07-06 18:01:18 +02:00
Michael Stucki
fb661300e7
Move bridge_exists check into a function
2015-07-06 18:01:15 +02:00
Fabio Rehm
bb21906ec4
Update README.md
2015-05-08 19:49:30 -03:00
Fabio Rehm
0365ad4a17
Update CHANGELOG.md
2015-04-06 11:02:18 -03:00
Fabio Rehm
fd22ccc073
Update CHANGELOG.md
2015-04-06 10:59:57 -03:00
Fabio Rehm
52cca8e7f6
Merge pull request #355 from lfaraone/use-current-ruby
...
vagrant-lxc-wrapper: Use correct ruby interpreter
2015-04-06 10:58:53 -03:00
Fabio Rehm
55bbadef6f
Merge pull request #352 from ccope/private_dhcp
...
Support private networking using DHCP
2015-04-06 10:56:38 -03:00
Fabio Rehm
f52df5df14
Update CHANGELOG.md
2015-04-06 10:54:36 -03:00
Fabio Rehm
8cb0afeb39
Merge pull request #357 from agriffis/fedora-host-selinux-ro
...
Mount the selinux sys dir read-only [GH-301]
2015-04-06 10:51:30 -03:00
Fabio Rehm
8ccafecd9e
Update CHANGELOG.md
2015-04-06 10:30:27 -03:00
Fabio Rehm
497f750248
Merge pull request #361 from ccope/autocreate-mountpoint
...
move mountpoint creation to lxc template for lvm rootfs support
2015-04-06 10:27:18 -03:00
Cam Cope
caa3c53a8f
move mountpoint creation to lxc template for lvm rootfs support
2015-04-05 17:46:22 -07:00
Aron Griffis
7d017ada1e
Mount the selinux sys dir read-only [GH-301]
2015-03-24 17:42:11 -04:00
Luke Faraone
05fdb3e000
vagrant-lxc-wrapper: Use correct ruby interpreter
...
Previously, we hardcoded to using the ruby binary in /opt/vagrant[..].
On some systems, this path is incorrect, so instead we use the
path of the interpreter that is executing the `vagrant lxc sudoers`
command.
2015-03-19 16:22:00 -07:00
Cam Cope
5da3fc8be5
support containers with dhcp private networking
2015-03-08 19:58:29 -07:00
Fabio Rehm
c9cd671a32
Update README.md
2015-01-14 21:46:18 -02:00
Fabio Rehm
3b45b92d1a
v1.1.0
2015-01-14 21:44:28 -02:00
Fabio Rehm
156bc015c8
Allow backingstore options to be used along with the sudo wrapper script [GH-310]
2015-01-14 21:07:35 -02:00
Fabio Rehm
fb23e606cc
action/create: Trim automatically generated container names to 64 chars
...
Fixes GH-337
2015-01-11 21:30:11 -02:00
Fabio Rehm
ef06ea622e
Remove blank file
2015-01-11 21:18:56 -02:00
Fabio Rehm
7a09375ae7
Update CHANGELOG
2015-01-11 21:18:03 -02:00
Fabio Rehm
f4b738ebd9
Minor tweaks to specs introduced by GH-329
2015-01-11 21:16:30 -02:00
Fabio Rehm
555499d04a
Merge branch 'master' of https://github.com/pruby/vagrant-lxc into next
...
Closes GH-329
2015-01-11 21:06:46 -02:00
Fabio Rehm
447d0dfc42
Experimental support for private networking [GH-298]
2015-01-11 20:59:38 -02:00
Fabio Rehm
bf3a9a5039
action: Some more tweaks around private networking + new pipework code [GH-298]
2015-01-08 03:57:49 -02:00
Fabio Rehm
28bdbe371d
Merge remote-tracking branch 'origin/private-networks' into next
2015-01-08 02:28:45 -02:00
Fabio Rehm
758703ea6b
provider: Use full which
path when checking whether the lxc-create
command is available
...
Fixes GH-322
2015-01-08 02:26:25 -02:00
Fabio Rehm
01d53a783c
sudoers: Treat 256 exit codes as errors
...
I ran into an issue locally where I didnt have lxc installed and some
commands were giving me back some false positives. Weird but this fixes
the problem I was facing.
2015-01-08 02:18:38 -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
Fabio Rehm
2a667b88b6
plugin: Give the provider a higher priority over Vagrant's builtin VBox provider
2015-01-08 00:55:19 -02:00
Fabio Rehm
2a48f366d4
Merge branch 'tempfile_problem' of https://github.com/stefan-langenmaier/vagrant-lxc into next
2015-01-08 02:07:02 +00:00
Fabio Rehm
92685472ec
Update bundle
2015-01-08 01:48:34 +00:00
Fabio Rehm
67523019aa
👋 to support for Vagrant < 1.5
2015-01-07 23:48:10 -02:00
Tim Goddard
fe532525c8
Support for formatted overlayfs path spec when finding the root FS path
...
We're using snapshots in a CI set-up so that a Vagrant cluster can be built
once, then each push to the repository only checked as an incremental
update to the cluster. We copy each LXC VM to a master image, then re-create
the original names as snapshots.
This change corrects a method which assumes the LXC root path in the config
file is a simple directory name, which is only true for directory-backed
instances.
Conflicts:
spec/unit/driver_spec.rb
2014-11-12 15:21:28 +13:00
Stefan Langenmaier
188a1eb089
uninitialized constant Tempfile
2014-11-05 08:50:46 -05:00
Fabio Rehm
622366bd64
Update README.md
2014-10-15 01:18:16 -03:00
Fabio Rehm
2f0eccb236
🔨 Fix the build 🔨
2014-10-15 01:14:52 -03:00
Fabio Rehm
71e210f683
v1.0.1
2014-10-15 01:04:37 -03:00
Fabio Rehm
186d453621
Prefix action to fetch containers IP with ssh so that vagrant does not lock around its execution
...
Closes GH-321
2014-10-15 01:02:52 -03:00
Fabio Rehm
80ca559258
Tweaks to get the changes introduced on GH-317 to work with the sudo wrapper
2014-10-15 01:01:43 -03:00
Fabio Rehm
b4a642bc8a
Merge pull request #318 from rtkrruvinskiy/lock_race
...
Work around WaitForCommunicator lock race condition
2014-10-15 00:31:10 -03:00
Fabio Rehm
8421291c52
Merge pull request #317 from azomazo/detect_container_path_by_lxc_config
...
The path of storage containers taken from lxc-config, instead of using a constant
2014-10-15 00:30:53 -03:00