[chef] Re: Re: Re: Cookbook testing with Vagrant/LXC


Chronological Thread 
  • From: George Miranda < >
  • To:
  • Subject: [chef] Re: Re: Re: Cookbook testing with Vagrant/LXC
  • Date: Mon, 23 Sep 2013 21:35:19 -0700

I just happened to be on this box and working on it now…

Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-39-generic x86_64)
$ uname -a
Linux rt-bb8-rti-cheftest5 3.5.0-39-generic #60~precise1-Ubuntu SMP Wed Aug 14 15:38:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

But I don't want to derail the conversation.  If you're interested in going the vm in a vm route, ping me off list and we can talk it through.

-g



On Mon, Sep 23, 2013 at 9:30 PM, Bryan Baugher < " target="_blank"> > wrote:
I had tried once to get it to work and was able to get it to work with 32bit OS but not 64bit which is what we were wanting to test. I can't quite remember the reasoning but it didn't seem like it was something we could easily fix.


On Mon, Sep 23, 2013 at 11:14 PM, George Miranda < " target="_blank"> > wrote:
Not to detract from a good discussion on Vagrant & LXC, but FWIW… vagrant/virtualbox can work inside a VM.  I've been using test-kitchen + virtualbox on a vmware esxi5 VM running ubuntu 12.04.  I had to enable Hardware Virtualization along with Hardware CPU and MMU on the VM.  And then feed it a buttload of resources/tune it for performance.  But it works almost as quickly on that VM as it does on my workstation.

So there's that.


On Mon, Sep 23, 2013 at 8:49 PM, < " target="_blank"> > wrote:
Hi everyone,

Has anyone tried to do cookbook testing with Vagrant and LXC? I have been using
Vagrant/VirtualBox for awhile now for my cookbook testing but all of our CI
boxes are VMs which means VirtualBox won't work. LXC seems like a good answer
but seems like it might be a bit harder to use. It also seems like the bento
project doesn't support building LXC boxes and doing them manually doesn't seem
terribly easy. Any resources or suggestions would be great.


--
George Miranda
Consultant, Evangelist, Trainer, *:*
 | Opscode Inc.
Twitter, IRC, GitHub, Most IMs: gmiranda23



--
-Bryan



--
George Miranda
Consultant, Evangelist, Trainer, *:*
 | Opscode Inc.
Twitter, IRC, GitHub, Most IMs: gmiranda23



Archive powered by MHonArc 2.6.16.

§