Customizable veewee definitions for building usable Gentoo vagrant baseboxes with or without puppet / chef.
Shell Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
definitions-extra Changed directory name 'plugins-gentoo' to 'definitions-extra' Nov 4, 2013
definitions version number fix for vboxvideo module. Nov 6, 2013
vagrantfiles
README.md Added a note. Nov 7, 2013
ReleaseLog.md

README.md

Gentoo-Bento-Boxes

This is an incubation project for building Gentoo based Vagrant baseboxes.

A primary obejective of this project is to create disposable, clean, idempotent, and updatable virtual boxes, a sort of "Your Stage 4" of Gentoo Linux distro. By updating stage4 builder, you may end up building your own ideal environment and preserve it in a virtual image.

Stable features from this project will be pushed to the veewee repository, also the baseboxes encapsulated by these veewee definitions will be publicly available via Vagrantbox.es.

Downloads

This repository includes veewee definitions below

Plain Flavor: box with chef, puppet, git and vim

  • gentoo-latest-amd64 : Gentoo 2013.10.24 amd64 (chef, puppet) on 2013.10.30
    • 416.4 MB
    • packaged with 'unicode noX' setting
    • VirtualBox Guest Additions 4.3
    • chef-10.24.0, and puppet-3.3.1
  • gentoo-latest-i686 : Gentoo 2013.10.29 i686 (chef, puppet) on 2013.10.30
    • 413.1 MB
    • packaged with 'unicode noX' setting
    • VirtualBox Guest Additions 4.3
    • chef-10.24.0, and puppet-3.3.1

Minimal Flavor: no source, no doc, no man, or no info

  • gentoo-latest-amd64-minimal : Gentoo 2013.10.24 amd64 minimal on 2013.10.30
    • 279.7 MB
    • packaged with 'unicode noman noinfo nodoc noX' setting
    • VirtualBox Guest Additions 4.3
  • gentoo-latest-i686-minimal : Gentoo 2013.10.29 i686 minimal on 2013.10.30
    • 266.2 MB
    • packaged with 'unicode noman noinfo nodoc noX' setting
    • VirtualBox Guest Additions 4.3

Note

  • 2 cpu, 1024MB memory
  • kernel is based on gentoo-sources-3.10.7-r1
  • gentoo-xxx-amd64 definitions are tested against 20131024 snapshot.
  • gentoo-xxx-i686 definitions are tested against 20131029 snapshot.

Things to do on your first boot

Change your default locale

Default is "en_US.UTF-8". Let's say your preferred language a French. Then do this.

echo fr_FR.UTF-8 UTF-8 >> /etc/locale.gen
locate-gen
sed -i "s/en_US.UTF-8/fr_FR.UTF-8/g" /etc/env.d/02locale
env-update && source /etc/profile

Hey ma, my portage is empty!

When your system is booted for the first time. Hit

emerge --sync ( or emerge-webrsync)

to make sure a portage tree in your system is populated.

Check USE flags

USE flags have been customized for each basebox. Hit these commands to see what you already have in your box.

cat /etc/portage/package.use/*
cat /etc/portage/make.conf | grep USE

If you change portage settings, run

emerge -NuDav [package or 'world']

to rebuild affected packages.

Add your custom ebuilds in /usr/local/portage

"/usr/local/portage" is located for your local portage by default. Put your customized ebuilds there and emerge. You can choose Layman route as well.

Future plans

  • Smaller box (squash? frugel?)
  • Minimal X setup
  • Fully configured but lightweight X setup
  • Convert these definition to Packer templates