-
Notifications
You must be signed in to change notification settings - Fork 181
Conversation
Ok, so I'm almost done with this, I was able to create and boot a base box with this new approach. I know this description is kinda vague but I'd love some feedback from those who are interested on building base boxes (@Val @aries1980 @adamcstephens @rcarmo). If you need more information just let me know. I'll probably push the code I have so far in a branch soon so that everyone can have a look. |
BTW, on my laptop I'm keeping initial create + boot times lower than 8 seconds, while with the current boxes it takes at least 11 sec, so things will be faster after this ;-) |
Hmmm. You know, I've recently had to set up lxc atop btrfs, and creating a brand new container with lxc-clone was instant. Maybe we could leverage that somehow for boxes? |
Sure, I've done some research on BTRFS as well and lxc-clone will be the
|
…ent one when running the generic lxc template
ok guys, I've just blogged about the new boxes that are coming up. I'm still testing the current base boxes we have and as you'll find on the post, I don't have any plans to support boxes other than Ubuntu on the short term. I'll close the boxes related issues and I'd be more than happy to link the boxes people build on an upcoming wiki page. |
I'm fine with that, although I do need Debian boxes for work. I'd be happy to maintain the Wheezy one, at least. On Jun 11, 2013, at 01:18 , Fabio Rehm notifications@github.com wrote:
|
@rcarmo I'll probably leave the Debian scripts around since they are already here :) |
Okay, then. But if you can't spare the time to build the boxes, I'll do it. Alas, I need to use Wheezy in production. On Jun 11, 2013, at 17:03 , Fabio Rehm notifications@github.com wrote:
|
Introduces a simpler approach for building base boxes.
While it does not introduce breaking changes, V3 boxes should be pushing more work into the base box preparation allowing us to eventually have "generic" creation scripts + lxc configs built into vagrant-lxc itself and also to simplify the process of "promoting" existing containers to base vagrant boxes.
V3 base boxes should now be made of 4 files:
Because the lxc config will be bundled with the box (and not built during
lxc-create
), I'm not willing to keep editing it from vagrant-lxc, so we'll start settinglxc.rootfs
andlxc.utsname
from the provider itself for both V2 and V3 boxes.I'm already working on it, just need to find the time to test it and collect feedback from others