Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Jens Kleikamp
@jensk
just want to say hi :smile:
Fabio Rehm
@fgrehm
Hey there :smile:
Jens Kleikamp
@jensk
fgrehm you are truly awesome. thanks for making vagrant-lxc possible :+1:
Fabio Rehm
@fgrehm
:D
Glad to know you enjoy it
Jens Kleikamp
@jensk
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
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
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
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
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
oh got it
Jens Kleikamp
@jensk
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
it seems that there is a base container available for use with the lxc-download template
I just double checked
Jens Kleikamp
@jensk
I guess it is too big to be included in standard lxc templates
Fabio Rehm
@fgrehm
haven't tried using it though
Jens Kleikamp
@jensk
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
cool, I'll open up an issue to have a look into that
Jens Kleikamp
@jensk
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
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
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
you're fine, I'm not a native english speaker as well and I can understand you :smile:
Michael L.
@necrose99
/usr/lib64/ruby/site_ruby/1.9.1/rubygems/dependency.rb:298:in `to_specs': Could not find 'net-ssh' (< 2.8.0, >= 2.6.6) - did find: [net-ssh-2.9.0] (Gem::LoadError)
it might be a gentoo error , libs are feteched
jensk yeah lxc has a template made from lxc-gentoo
Fabio Rehm
@fgrehm
@necrose99 sorry but where's that error coming from?
Michael L.
@necrose99
vagrant plugin install vagrant-lxc
vagrant share
seems anything
hear goes the 6 line or so
/usr/lib64/ruby/site_ruby/1.9.1/rubygems/dependency.rb:298:in to_specs': Could not find 'net-ssh' (< 2.8.0, >= 2.6.6) - did find: [net-ssh-2.9.0] (Gem::LoadError) from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/specification.rb:1295:inblock in activate_dependencies'
from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/specification.rb:1284:in each' from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/specification.rb:1284:inactivate_dependencies'
from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/specification.rb:1266:in activate' from /usr/lib64/ruby/site_ruby/1.9.1/rubygems.rb:196:inrescue in try_activate'
from /usr/lib64/ruby/site_ruby/1.9.1/rubygems.rb:193:in try_activate' from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:132:inrescue in require'
from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:144:in require' from /usr/lib64/ruby/gems/1.9.1/gems/vagrant-1.4.3/bin/vagrant:27:in<top (required)>'
from /usr/bin/vagrant:8:in load' from /usr/bin/vagrant:8:in<main>'
Fabio Rehm
@fgrehm
@necrose99 weird, how did you install vagrant?
Michael L.
@necrose99
equo