Kristof Willaert
a4768c26ca
Add fallback mechanism for platforms without attach support
...
Some platforms (most notably CentOS and RHEL) use a kernel without
'attach' support. This patch detects this absence and falls back
to the alternative ways of doing things like detection of IP address
and halting the container.
It does so by running the command "true" through lxc-attach.
2014-06-03 17:53:26 +02:00
Cam Cope
a9248cb697
add backingstore parameters
2014-04-28 17:17:59 +03:00
Fabio Rehm
95e111c322
Merge branch 'master' of https://github.com/hiono/vagrant-lxc into next
...
Conflicts:
lib/vagrant-lxc/driver/cli.rb
2014-02-02 19:50:58 -02:00
Fabio Rehm
5db318d26f
Merge branch 'fixes' of https://github.com/attilabogar/vagrant-lxc into next
2014-02-02 19:49:24 -02: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
Hiro
a436e30214
fixed, case insensitive matching
...
lxc version: 1.0.0.alpha3
$ sudo lxc-info -n test_default-1387877096
Name: test_default-1387877096
State: RUNNING
....
2013-12-24 18:35:19 +09:00
Attila Bogár
d8a8dbaa9b
fix long waiting time with centos 6.4 containers on ubuntu 13.10 host
2013-11-19 22:24:36 +00:00
Attila Bogár
e4e4551aea
fix incompatibility issue with ppa:ubuntu-lxc/stable and ppa:ubuntu-lxc/daily
2013-11-19 22:23:25 +00:00
Fabio Rehm
2b062487bc
Hack in a fix for hosts that do not have lxc-shutdown around [GH-150]
2013-10-24 11:47:15 -02:00
Vokhmin Alexey V
c5a89a54ce
#157 : Fixed: FetchIpFromDnsmasqLeases returns []
2013-10-12 02:04:29 +04:00
Fabio Rehm
79006095f5
Remove extra if
2013-10-03 13:35:17 -03:00
Fabio Rehm
c194b3a24a
Fix lxc-attach --namespaces support detection and cache the result
2013-10-03 13:26:04 -03:00
Fabio Rehm
f9dd5392ff
Improve checking for support for fetching IP with lxc-attach
[GH-118]
2013-09-28 22:37:31 -03:00
Fabio Rehm
6680858184
Improve logging and add some TODOs that have been around for a while
2013-09-21 01:32:15 -03:00
Fabio Rehm
2082a5a81d
Remove some unused args and add pending specs so that we don't forget to test it
2013-07-31 22:35:49 -03:00
Fabio Rehm
5f102d3e10
First stab at persisting lxc customizations on config file instead of using lxc-start "-s" parameter
2013-07-29 12:12:41 -03:00
Fabio Rehm
0385a64d31
Replace ugly driver builder with a more intelligent approach
...
References #118
2013-07-29 12:08:24 -03:00
Fabio Rehm
d62a053674
Add support for using a sudo wrapper script
...
Closes #90
2013-07-28 02:17:07 -03:00
Fabio Rehm
3e73a85d52
Enable retries when fetching container state
...
Fixes #74
2013-07-08 13:05:43 -03:00
Fabio Rehm
5c2973108b
Support bundling lxc config files with base boxes
2013-06-06 00:04:59 -03:00
Fabio Rehm
3cca168248
Stop container with lxc-stop if lxc-shutdown does not succeed
2013-05-07 11:07:35 -03:00
Fabio Rehm
a9c4745b78
Hack in support for fetching container IPs from dnsmasq leases
...
Closes #49
2013-04-10 02:02:38 -03:00
Fabio Rehm
dd5c1b1c6b
Add support for reading installed lxc version from cli object
2013-04-08 22:29:06 -03:00
Fabio Rehm
ee9bfa4189
Config#start_opts -> Config#customize
2013-04-05 22:10:49 -03:00
Fabio Rehm
14f769ee0d
Remove support for setting target rootfs path
2013-04-05 22:10:48 -03:00
Fabio Rehm
082f7dc5d3
Rename Container to Driver
2013-04-05 22:10:48 -03:00