These are chat archives for fgrehm/vagrant-lxc

11th
Aug 2014
Jens Kleikamp
@jensk
Aug 11 2014 18:58
just want to say hi :smile:
Fabio Rehm
@fgrehm
Aug 11 2014 18:58
Hey there :smile:
Jens Kleikamp
@jensk
Aug 11 2014 18:58
fgrehm you are truly awesome. thanks for making vagrant-lxc possible :+1:
Fabio Rehm
@fgrehm
Aug 11 2014 18:58
:D
Glad to know you enjoy it
Jens Kleikamp
@jensk
Aug 11 2014 19:01
I am building my own gentoo base boxes for a while. I hope I can contribute some day back! but my build script is such a big hack :worried:
I want to try to make a script like yours for building. hope I find time
Fabio Rehm
@fgrehm
Aug 11 2014 19:07
no worries
are you using the pre packaged containers available to use with the lxc-download template?
if you are we might be able to collaborate on bringing in the scripts to the vagrant-lxc-base-boxes repo ;)
Jens Kleikamp
@jensk
Aug 11 2014 19:09
yeah. thats what I would love to achieve. transform my hacky build script into one that fits in your base-boxes repo. But that will be taff job for me. But it would be awesome.
Fabio Rehm
@fgrehm
Aug 11 2014 19:10
no worries, just take your time :) you might also want to share them on vagrantcloud so that others can find it too
Jens Kleikamp
@jensk
Aug 11 2014 19:11
the problem with gentoo base boxes is that before the vagrant box can be made a new gentoo instance needs to be bootstrapped. thats a lot harder than just use base version of $binary-distro. so the build task consists of 2 huge tasks. gentoo bootstrapping and vagrant pre-configration.
for personal use my script just use the same gentoo chroot every time. thats not so cool :)
Fabio Rehm
@fgrehm
Aug 11 2014 19:12
oh got it
Jens Kleikamp
@jensk
Aug 11 2014 19:13
but its possible. there is a nice maintained script that creates a fresh gentoo lxc container. the build script can make use of it.
Fabio Rehm
@fgrehm
Aug 11 2014 19:13
it seems that there is a base container available for use with the lxc-download template
I just double checked
Jens Kleikamp
@jensk
Aug 11 2014 19:14
I guess it is too big to be included in standard lxc templates
Fabio Rehm
@fgrehm
Aug 11 2014 19:14
haven't tried using it though
Jens Kleikamp
@jensk
Aug 11 2014 19:14
maybe they contributed upstream finally :)
this is the one I used to create my chroot which is used to create the vagrant base box.
Fabio Rehm
@fgrehm
Aug 11 2014 19:18
cool, I'll open up an issue to have a look into that
Jens Kleikamp
@jensk
Aug 11 2014 19:20
great!
oh nice, now I see what you mentioned above https://github.com/lxc/lxc/blob/master/templates/lxc-gentoo.in
"Widely inspired from lxc-gentoo script" with some goodies. I will try that next time.
Fabio Rehm
@fgrehm
Aug 11 2014 19:23
if you run 'sudo lxc-create -n bla -t download' on ubuntu trusty you'll be presented with a list of pre packaged containers to use
gentoo is there ;)
Jens Kleikamp
@jensk
Aug 11 2014 19:24
uii nice command!
I checked the history. the gentoo template seems just a few months old
lxc develops so nicely
i use some words too often :D
my english is so horrible
Fabio Rehm
@fgrehm
Aug 11 2014 19:33
you're fine, I'm not a native english speaker as well and I can understand you :smile: