Commit graph

42 commits

Author SHA1 Message Date
John Keiser 228f540551 Get rid of warnings, use non-deprecated Ruby function 2014-03-25 14:42:29 -07:00
John Keiser 0070e047e5 Fix LXC.list_containers to release GIL 2014-03-25 13:20:20 -07:00
John Keiser 4f580efe8a Stop blocking ruby during long-running operations 2014-03-25 12:00:00 -07:00
Andre Nathan fd75ebc9a2 Don't use pointer after free() 2014-03-06 10:19:17 -03:00
Andre Nathan f57ba07492 Document :wait in the accepted options of #attach 2014-02-11 08:52:40 -02:00
Andre Nathan a453b51005 Add Container#running_config_item 2014-01-28 15:08:10 -02:00
Andre Nathan 4a61f87c51 Define missing constants
LXC_CLONE_KEEPBDEVTYPE and LXC_CLONE_MAYBE_SNAPSHOT
2014-01-16 16:44:23 -02:00
Andre Nathan 9a65ddf036 Use symbols for container states 2014-01-14 09:24:00 -02:00
Andre Nathan 0c3abf0de2 Remove LXC.default_config_path, add LXC.global_config_item
Follows lxc@593e84786e2b4709059989bee489deab5c923779
2014-01-14 08:51:22 -02:00
Andre Nathan 339de1a81a Support large bdevs on 32-bit
This change follows lxc@d659597e03725411c366c42dc02c64c0c35a167a.
2014-01-09 08:33:25 -02:00
Andre Nathan 97b544a041 Merge pull request #5 from ranjib/fix_extconfig
[BUGFIX] Drop shared library inside lxc folder
2014-01-03 18:49:30 -08:00
Ranjib Dey b077728c7d drop shared library inside lxc folder 2014-01-03 18:22:19 -08:00
Jeremiah Snapp 960d7b9975 Add ability to set backingstore type when creating a container 2014-01-03 19:01:06 -05:00
Andre Nathan 7b16ea1e3d Add (still incomplete) RDoc. 2013-12-27 15:44:24 -02:00
Andre Nathan f2a6812c80 Add Container#rename 2013-12-23 15:59:41 -02:00
Andre Nathan 03eae61c02 LXC_CLONE_COPYHOOKS is gone 2013-12-23 15:15:25 -02:00
Andre Nathan d8f5613034 Fix handling of missing options hash in #attach 2013-12-23 12:48:13 -02:00
Andre Nathan 71eb2623f3 Fix index variable signedness 2013-12-23 12:13:28 -02:00
Andre Nathan 9365da3111 Fix freeing list of running containers 2013-12-23 12:03:54 -02:00
Andre Nathan 4fc49d6526 Remove debug prints 2013-12-06 14:59:09 -02:00
Andre Nathan 80529bcf79 Standardizing project structure 2013-12-06 14:59:02 -02:00
Andre Nathan d35c0be1e4 Fix cloning and return a Container instance 2013-12-06 14:00:06 -02:00
Andre Nathan 057f8b3390 Just test for sys{read,write} in is_io() 2013-12-06 10:38:58 -02:00
Andre Nathan 892e1637b1 Accept string arguments 2013-12-06 09:37:29 -02:00
Andre Nathan 5c1d459b67 Fix argv 2013-12-06 09:36:51 -02:00
Andre Nathan a4fc5df066 Fix string array conversion to C, simplify freeing 2013-12-06 09:29:17 -02:00
Andre Nathan c75faed9ec Adding LXC::arch_to_personality and LXC::run_shell 2013-12-06 08:51:09 -02:00
Andre Nathan 8f86513c23 Fix LXC::run_command argument count 2013-12-05 17:29:01 -02:00
Andre Nathan 80ccf89619 Fix IO object test 2013-12-05 17:16:26 -02:00
Andre Nathan 9d78dac57e Implement LXC::run_command 2013-12-05 16:40:12 -02:00
Andre Nathan d06cb87dee Define constants in LXC, not in LXC::Container 2013-12-05 16:39:25 -02:00
Andre Nathan 58bbb4cb41 Fix lxc_attach payload argument 2013-12-05 16:38:50 -02:00
Andre Nathan 2d86d77cd4 Fix lxc_attach argument parsing 2013-12-05 16:36:29 -02:00
Andre Nathan 1e4f1802bd Fix handling of LXC::Container#start argument 2013-12-05 15:27:43 -02:00
Andre Nathan d6a14c0e96 Deal with possible array values 2013-12-05 14:49:05 -02:00
Andre Nathan 766ff07743 No setter syntax for methods taking two arguments 2013-12-05 11:29:30 -02:00
Andre Nathan 8d2df83b43 Return nil if container has no init 2013-12-05 10:46:38 -02:00
Andre Nathan a613d6ffb0 Fix assignment 2013-12-05 10:43:15 -02:00
Andre Nathan 739f6df287 Add LXC singleton methods 2013-12-05 09:44:23 -02:00
Andre Nathan 61dddd8ec9 Don't yield on initialize 2013-12-05 08:14:15 -02:00
Andre Nathan 9a25d6ef29 Adding constants 2013-12-04 16:38:02 -02:00
Andre Nathan 8aada3d6df Initial commit 2013-12-04 16:12:15 -02:00