Re: [Lxc-users] Converting existing CentOS 6.x to container within Ubuntu 12.04 - can that be simple?

2012-11-08 Thread Whit Blauvelt
On Fri, Nov 02, 2012 at 05:35:54AM +0700, Fajar A. Nugraha wrote: Having said that, I recall some VPS providers enforcing the same limitation, so your condition is quite common. Please share whatever ended up working for you so others can benefit from it as well. I've almost got it fully

Re: [Lxc-users] Converting existing CentOS 6.x to container within Ubuntu 12.04 - can that be simple?

2012-11-08 Thread Fajar A. Nugraha
On Fri, Nov 9, 2012 at 12:32 AM, Whit Blauvelt w...@transpect.com wrote: On Fri, Nov 02, 2012 at 05:35:54AM +0700, Fajar A. Nugraha wrote: Having said that, I recall some VPS providers enforcing the same limitation, so your condition is quite common. Please share whatever ended up working for

Re: [Lxc-users] Converting existing CentOS 6.x to container within Ubuntu 12.04 - can that be simple?

2012-11-08 Thread Dan Kegel
(1) I'm not sure you can do nfs-mount inside an lxc container Agreed. I had to rip out all use of nfs inside my lxc containers; app-level things like scp and wget work fine. -- Everyone hates slow websites. So do we.

Re: [Lxc-users] Converting existing CentOS 6.x to container within Ubuntu 12.04 - can that be simple?

2012-11-01 Thread Whit Blauvelt
\On Sun, Oct 28, 2012 at 04:50:07PM +0700, Fajar A. Nugraha wrote: Did your search brought you to http://wiki.1tux.org/wiki/Lxc/Installation/Guest/Centos/6 ? :D Did not, and that's a very nice recipe. My current question is if there's an available bridging scheme that will work in my

Re: [Lxc-users] Converting existing CentOS 6.x to container within Ubuntu 12.04 - can that be simple?

2012-11-01 Thread Fajar A. Nugraha
On Thu, Nov 1, 2012 at 8:47 PM, Whit Blauvelt w...@transpect.com wrote: The host is an ESXi VMware VM (currently CentOS 6, but could be Ubuntu 12.04 if helpful). Ubuntu will definitely be easier. It has new-enough lxc version, plus you won't have selinux fiasco (search the list archive for

Re: [Lxc-users] Converting existing CentOS 6.x to container within Ubuntu 12.04 - can that be simple?

2012-11-01 Thread Whit Blauvelt
Fajar, Thanks for the quick response. I've gotten a bit farther with VMware. It will allow br0 to be the interface on its guest - it just can't assign that by dhcp. But when I get the invocation right for a static assignment, it takes. It had been seeming that br0 for the host interface just

Re: [Lxc-users] Converting existing CentOS 6.x to container within Ubuntu 12.04 - can that be simple?

2012-11-01 Thread Fajar A. Nugraha
On Thu, Nov 1, 2012 at 9:37 PM, Whit Blauvelt w...@transpect.com wrote: Fajar, Thanks for the quick response. I've gotten a bit farther with VMware. It will allow br0 to be the interface on its guest - it just can't assign that by dhcp. But when I get the invocation right for a static

Re: [Lxc-users] Converting existing CentOS 6.x to container within Ubuntu 12.04 - can that be simple?

2012-11-01 Thread Fajar A. Nugraha
On Fri, Nov 2, 2012 at 3:21 AM, Whit Blauvelt w...@transpect.com wrote: obscured login: root Password: init: tty (/dev/tty2) main process (131) terminated with status 1 init: tty (/dev/tty2) main process ended, respawning init: tty (/dev/tty3) main process (133) terminated with status 1 init:

Re: [Lxc-users] Converting existing CentOS 6.x to container within Ubuntu 12.04 - can that be simple?

2012-11-01 Thread Whit Blauvelt
On Fri, Nov 02, 2012 at 04:46:19AM +0700, Fajar A. Nugraha wrote: I use this: lxc.tty = 1. which means, only tty1 is active :) You could either: - delete /dev/tty[2-6], or - use lxc.tty = 6. Haven't test this though. I prefer the first one. The tty's are used only when use lxc-console,

Re: [Lxc-users] Converting existing CentOS 6.x to container within Ubuntu 12.04 - can that be simple?

2012-11-01 Thread Fajar A. Nugraha
On Fri, Nov 2, 2012 at 5:30 AM, Whit Blauvelt w...@transpect.com wrote: I'm thinking the VMware restriction - apparently that it come from a known MAC - may be incompatible with using br0. So I guess I have to work out the DNAT/SNAT formula, and assign the 2nd IP for the guest on the host level

Re: [Lxc-users] Converting existing CentOS 6.x to container within Ubuntu 12.04 - can that be simple?

2012-10-28 Thread Fajar A. Nugraha
On Sun, Oct 28, 2012 at 1:36 AM, Whit Blauvelt w...@transpect.com wrote: I have this notion that it might be simple indeed to set this up. Sure it is. Well, kindof :) But that notion is admittedly foggy. If it is simple, is there a guide to this sort of thing somewhere? I see a template for

[Lxc-users] Converting existing CentOS 6.x to container within Ubuntu 12.04 - can that be simple?

2012-10-27 Thread Whit Blauvelt
Hi, I'd welcome advice on whether there's a sane, relatively simple way to take a backup copy of a CentOS 6 system, which happens to be sitting on a partition on a Ubuntu 12.04 VMware VM, and set it up to run in a container there. It's been a year since I've done anything with LXC. I see that