Commit graph

47 commits

Author SHA1 Message Date
Cam Cope
a9248cb697 add backingstore parameters 2014-04-28 17:17:59 +03:00
Fabio Rehm
da96e8c1a4 synced_folder: Fix mount_options on Vagrant 1.4+ 2014-03-14 00:21:21 -03:00
Fabio Rehm
20d4547044 synced_folder: Support for mount_options 2014-03-13 23:36:15 -03:00
Fabio Rehm
35feb11367 core: Fix synced folder creation (AKA first bug caught with vagrant-spec)
Thanks @mitchellh!
2014-03-13 00:57:36 -03:00
Fabio Rehm
d5abb523de core: Implement support for built in synced folders and add required logic for NFS 2014-03-13 00:57:36 -03:00
Fabio Rehm
1072a42ed2 revert 2014-03-13 00:57:36 -03:00
Cam Cope
b5c7a50a74 match hwaddr lines with varying spaces 2014-02-19 18:25:45 -05:00
Fabio Rehm
6779556650 Add a TODO so that we can easily grep this 2013-11-11 20:44:02 -02:00
Fabio Rehm
324cddcb9d Bring back @gwillem comment from 2790261e58 regarding rootfs paths so we know what this "./." is about :) 2013-11-11 20:42:34 -02:00
Fabio Rehm
c8f379c764 Fix various issues related to recent default permissions changes to /var/lib/lxc [GH-180] 2013-11-06 19:38:48 -02:00
Willem de Groot
2790261e58 included rootfs_path variable in tar command 2013-11-05 19:55:41 +01:00
Willem de Groot
f52835cb58 Fix relative path issue used for vagrant package 2013-10-30 12:01:51 +01: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
Fabio Rehm
18bb9482d5 Nicely handles missing templates path (fixes GH-139) 2013-09-28 02:58:38 -03:00
Fabio Rehm
a6c95bff50 Format code 2013-09-28 01:46:27 -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
d02a9d575f Ensures lxc templates are executable prior to running lxc-create
Closes #128
2013-09-21 01:28:03 -03:00
Fabio Rehm
cf73a843d0 Do not worry about transition to running state when starting a container, this is handled from outside 2013-09-12 01:12:07 -03:00
Oliver Matthews
e5790d3ad1 use uid/gid for chowns. 2013-09-10 20:57:51 +01:00
Holger Amann
5c53e52ea1 container's / must be compressed under 'rootfs' dir 2013-08-30 19:23:31 -03:00
Holger Amann
280702061d fix creating rootfs.tar.gz 2013-08-11 15:30:23 +02: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
251fe68035 Cache the output of Driver#version 2013-07-29 12:10:59 -03:00
Fabio Rehm
23f531b38c Remove duplicated Driver#base_path method 2013-07-29 12:10:25 -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
78499202b6 Revert "Lets ensure the rootfs is always set before starting the container"
This reverts commit c6af4fab08 as it is
probably a better idea to have the rootfs config baked into the config
file so we can easily run a `lxc-start -n CONTAINER`
2013-07-12 01:21:27 -03:00
Fabio Rehm
5c2973108b Support bundling lxc config files with base boxes 2013-06-06 00:04:59 -03:00
Fabio Rehm
c6af4fab08 Lets ensure the rootfs is always set before starting the container 2013-06-06 00:03:02 -03:00
aries1980
5df2fc1c71 Directory lookup for templates exptended
More info: https://github.com/fgrehm/vagrant-lxc/issues/77
2013-05-25 09:15:25 +01: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
6e7490f16e Remove duplicated code 2013-04-10 18:56:33 -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
e4c74dadd2 Support lxc templates under /usr/lib/lxc/templates
Ubuntu Precise with lxc 0.7.5 keeps things on that folder
2013-04-10 01:09:39 -03:00
Fabio Rehm
6932749ac4 Remove unused var 2013-04-10 00:07:01 -03:00
Fabio Rehm
a700d88783 Store shared folders customizations on a local array instead of messing up with provider configs 2013-04-10 00:05:22 -03:00
Fabio Rehm
7187556b6a Remove dependency on Config object to start containers 2013-04-09 23:53:01 -03:00
Fabio Rehm
c53f9456b7 Remove duplicated Driver#rootfs_path 2013-04-09 22:12:05 -03:00
Fabio Rehm
d4edab4979 Fix rootfs compression
* There is no need to adjust the rootfs to include the arch parameter anymore
* Uses tar instead of bsdtar to error output
2013-04-05 22:34:15 -03:00
Fabio Rehm
ed552b6af0 Driver#name -> Driver#container_name 2013-04-05 22:28:41 -03:00
Fabio Rehm
ee9bfa4189 Config#start_opts -> Config#customize 2013-04-05 22:10:49 -03:00
Fabio Rehm
2147ec0ba5 Move away from using ifconfig to ip addr for scanning container IPs
This was required since `ifconfig` is sensitive to localization.
Fixes #50
2013-04-05 22:10:49 -03:00
Fabio Rehm
04cdd1f3db Improved box metadata handling and container creation 2013-04-05 22:10:49 -03:00
Fabio Rehm
c0a3622413 Fix driver logger name 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
Renamed from lib/vagrant-lxc/container.rb (Browse further)