Commit graph

51 commits

Author SHA1 Message Date
Fabio Rehm
86be140f86 Update Vagrantfile with vagrant-cachier auto detection 2013-05-17 18:50:25 -03:00
Fabio Rehm
7c1a18dc1a Disable lxc.aa_profile for debian boxes for now
I'm not able to start debian containers with that config set
2013-05-08 15:43:01 -03:00
Fabio Rehm
0e6b14643f Support squeeze box as dev machine 2013-05-08 15:42:44 -03:00
Fabio Rehm
ed46b1cdfb New boxes! 2013-05-08 15:41:38 -03:00
Fabio Rehm
7a069957d7 Major development Vagrantfile cleanup + enable vagrant-cachier 2013-05-07 10:15:54 -03:00
Fabio Rehm
3be5fb0abd Set lxc as the default provider on dev boxes 2013-05-06 16:17:12 -03:00
Fabio Rehm
e02b2d7b3c Environment::DEFAULT_HOME got deprecated on Vagrant 1.2+ 2013-05-06 16:11:04 -03:00
Fabio Rehm
116fd68d41 New kernel for dev boxes! 2013-05-06 16:08:37 -03:00
Fabio Rehm
0cd93e8fb8 Lots of tweaks to development boxes 2013-04-22 02:49:35 -03:00
Fabio Rehm
cf8ee170b9 Add an Ubuntu raring box so we can test lxc 0.9
Looks like it is working fine, although there's room for improvement
since we can use the output of `lxc-ls --fancy' on 0.9 to get
container's ip, but should be enough to close #54
2013-04-22 01:56:01 -03:00
Fabio Rehm
b3254ad1e2 Update reference to lxc dev box 2013-04-22 01:54:49 -03:00
Fabio Rehm
51367454e8 Ensure curl is installed on dev machines since the precise dev box does not come with it 2013-04-21 20:34:16 -03:00
Fabio Rehm
60841387c5 Configure precise box to use 1.5gb ram and 2 cpus 2013-04-21 18:59:36 -03:00
Fabio Rehm
c0121f5953 Enable NFS for VBox dev machines 2013-04-21 18:59:14 -03:00
Fabio Rehm
e87b923b8e New kernel! 2013-04-12 02:06:34 -03:00
Fabio Rehm
f6bf58700e Update example and development box_urls to new version 2013-04-10 03:24:19 -03:00
Fabio Rehm
ee9bfa4189 Config#start_opts -> Config#customize 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
8ecb88a760 Add a precise64 box so that we can test lxc 0.7.5 2013-04-05 22:10:13 -03:00
Fabio Rehm
2f546bc10c Update base box references 2013-03-31 13:29:50 -03:00
Fabio Rehm
31238039a8 Vagrant's synced_folder have IDs, not names 2013-03-30 16:40:33 -03:00
Fabio Rehm
6c8f9d695a Minor tweaks to example and development vagrantfiles 2013-03-29 13:50:21 -03:00
Fabio Rehm
b227d1b7cb 💣 Vagrant 1.0 support for development 2013-03-28 23:52:44 -03:00
Fabio Rehm
e9cb7b0bfb Install redir package on dev boxes (we'll use it for port forwarding) 2013-03-26 22:14:31 -03:00
Fabio Rehm
d9df348500 Update base quantal64 box references 2013-03-26 22:13:19 -03:00
Fabio Rehm
dc2d8f8572 Caches gem tarballs on dev boxes 2013-03-26 21:57:47 -03:00
Fabio Rehm
185b47dfc7 Change vagrant box provisioning to use 2 cpus 2013-03-26 21:56:52 -03:00
Fabio Rehm
fcf503223e Update shell script used for upgrading the kernel to newer linux header related packages 2013-03-19 03:20:32 -03:00
Fabio Rehm
84726776c7 There is no need to install dnsutils and fping on dev boxes anymore 2013-03-19 03:20:32 -03:00
David Schoen
f9d118840b set hostname for 1.0 as required by provisioning
In a fresh checkout:

    $ ( cd development; ln -s Vagrantfile{.1.0,}; vagrant up )

Was failing with:

    err: /Stage[main]//Exec[config-lxc]/returns: change from notrun to 0
    failed: cp /vagrant/development/lxc-configs/quantal64 /etc/default/lxc
    returned 1 instead of one of [0] at
    /tmp/vagrant-puppet/manifests/site.pp:19

because the hostname was "quantal64" and the puppet manifest attempts to
install the lxc-config based on the hostname name of the VM.
2013-03-15 09:16:50 +11:00
Fabio Rehm
08221913dd Fix dev boxes gem home on .gemrc 2013-03-12 15:10:25 -03:00
Fabio Rehm
d12f5c1d62 Install tmux on dev boxes 2013-03-12 15:10:24 -03:00
Fabio Rehm
ae50b08806 Ensure we can boot nested containers from vbox dev machine 2013-03-12 15:10:24 -03:00
Fabio Rehm
5e90e102c2 Install fping on dev boxes 2013-03-12 15:10:24 -03:00
Fabio Rehm
aaef306069 Override lxc default configs on dev boxes based on hostname to avoid conflicting IPs 2013-03-12 15:10:24 -03:00
Fabio Rehm
beaffaae68 Consolidates 1.1 Vagrantfiles into a single one 2013-03-12 15:10:24 -03:00
Fabio Rehm
4f6c2b717a Remove shell provisioner script for installing puppet on containers 2013-03-10 02:31:41 -03:00
Fabio Rehm
54f94e4d95 Remove old script to setup lxc dev container 2013-03-09 20:27:58 -03:00
Fabio Rehm
ef00eabd23 Remove apt-get clean from upgrade-kernel script used for provisioning
VB dev box to leverage vagrant boxes cache
2013-03-09 19:22:36 -03:00
Fabio Rehm
27d19e49b1 Remove trailing slash from archives shared folder, looks like VB provider was having a hard time dealing with it 2013-03-09 17:51:42 -03:00
Fabio Rehm
fd93fed254 Move vagrant lxc puppet installation shell provisioning code out to a file 2013-03-09 16:40:42 -03:00
Fabio Rehm
08218e209a Update VB 1.1 dev Vagrantfile config syntax to the new one 2013-03-09 16:23:43 -03:00
Fabio Rehm
ccb592d448 Upgrade VB dev boxes kernel when provisioning 2013-03-09 16:20:43 -03:00
Fabio Rehm
42a448666a Add VB dev Vagrantfile for 1.1 2013-03-09 16:16:08 -03:00
Fabio Rehm
d6457aeb74 Fix shared cache path for VB 1.0 dev box 2013-03-09 16:12:27 -03:00
Fabio Rehm
755b2033fe Remove .dev from Vagrantfiles file names 2013-03-09 16:11:49 -03:00
Fabio Rehm
ce8445b001 Set up a Vagrantfile for 1.0 2013-03-09 03:04:25 -03:00
Fabio Rehm
aa57fd794b Finally a decent development environment 😎 2013-03-09 02:22:52 -03:00
Fabio Rehm
a5d18567cb Rename development Vagrantfile to Vagrantfile.dev.lxc 2013-03-09 01:45:30 -03:00
Fabio Rehm
e406be521a Tweaks to start a container from within the dev container
References #23
2013-03-08 23:50:00 -03:00