Commit graph

20 commits

Author SHA1 Message Date
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)