[Lxc-users] Is there a good guide to lxc vlan setup for Ubuntu 12.04

2012-11-10 Thread Whit Blauvelt
Situation: my host is itself in a VMware environment, such that it can have multiple IP addresses, but not multiple MAC addresses. So using a public-interface bridge, with a second MAC address for the guest, won't work. Tried So Far: lxc guest using private bridge from host, with iptables

Re: [Lxc-users] trouble with remote mounts, ssh and ftp clients from inside container behind private bridge NAT

2012-11-09 Thread Whit Blauvelt
I asked: Is there a way to do mounts by hand, or is does this only work if done in the container's fstab file? Justin Cormack responded privately: Yes you can use mount --bind old new to test by hand. Curiously, that even works when I have first a remote mount (in this case CIFS) on the

Re: [Lxc-users] trouble with remote mounts, ssh and ftp clients from inside container behind private bridge NAT

2012-11-09 Thread Whit Blauvelt
On Fri, Nov 09, 2012 at 02:33:31PM -0800, Dan Kegel wrote: SSH out from the guest consistently fails with a Host key verification failed That might just mean .ssh/known_hosts doesn't have the host in it inside the container. Maybe you want -o StrictHostKeyChecking=no ... Oddly, #

Re: [Lxc-users] trouble with remote mounts, ssh and ftp clients from inside container behind private bridge NAT

2012-11-09 Thread Whit Blauvelt
You mounted NFS on the host, and then tried to bind it to the guest? Didn't work? Right. As I recall, the system exploded. Or at least did not work properly after that. Hung on file access, maybe. It was painful enough that I've purged the incident from memory, and just avoid nfs

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-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 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 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,

[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

Re: [Lxc-users] lxc-console and indents - it and joe don't get along

2012-02-17 Thread Whit Blauvelt
On Fri, Feb 17, 2012 at 01:15:56PM -0600, Serge Hallyn wrote: Quoting Whit Blauvelt (w...@transpect.com): Hi, Running 0.7.5 compiled and running on Debian Squeeze, with a Debian Squeeze container, when I use lxc-console and view a configuration file for a daemon which uses indents

Re: [Lxc-users] lxc-console on Debian Squeeze - buggy?

2012-01-06 Thread Whit Blauvelt
On Wed, Jan 04, 2012 at 02:18:37PM -0500, Whit Blauvelt wrote: # lxc-info -n xfer state: RUNNING pid: 1414 # lxc-console -n xfer lxc-console: 'xfer' is stopped For other people, is lxc-console working on Debian 0.7.5? Anyone know where it's looking when it reaches the false

Re: [Lxc-users] lxc-console on Debian Squeeze - buggy?

2012-01-06 Thread Whit Blauvelt
On Fri, Jan 06, 2012 at 03:04:21PM +, Gordon Henderson wrote: When moving to 0.7.5, I did a lxc-stop/-destroy/-create on all the containers. Thanks Gordon. I'll try that. I hadn't used the -destroy/-create thing. Just stopped 'em in 0.7.2 and then started 'em in 0.7.5 after symlinking the

Re: [Lxc-users] lxc-console on Debian Squeeze - buggy?

2012-01-06 Thread Whit Blauvelt
On Fri, Jan 06, 2012 at 05:32:57PM +0100, Daniel Baumann wrote: On 01/06/2012 02:40 PM, Whit Blauvelt wrote: For other people, is lxc-console working on Debian 0.7.5? lxc 0.7.2 works for me with linux 2.6.32 on squeeze, and 0.7.5 backport works for me with 3.1 backports on squeeze

Re: [Lxc-users] Progress Linux upgrade

2012-01-06 Thread Whit Blauvelt
you don't need to pull in all packages. you can use artax-backports excately the same as squeeze-backports (means, apt-get install -t artax-backports lxc linux-2.6). that way, you get only that what you want/need (though upgrading all packages is ok and supported, unlike squeeze-backports).

[Lxc-users] lxc-console on Debian Squeeze - both 0.7.2 and 0.7.5 less than happy

2012-01-04 Thread Whit Blauvelt
Hi, On a Debian Squeeze system I'm trying to run some Debian Squeeze containers. I've been having trouble with lxc-console. Sometimes it connects fine. Other times it doesn't. This is with the Squeeze version of LXC, unfortunately only 0.7.2. So I wanted to see if 0.7.5 would be better. Installed

Re: [Lxc-users] Cron jobs in containers..

2010-07-08 Thread Whit Blauvelt
On Thu, Jul 08, 2010 at 06:46:20PM +0100, Gordon Henderson wrote: Sort of thinking out loud, but looking for suggestions/ideas ... So I have a host with 20 containers and each of these 'servers' runs cron jobs - and one of them is to do an MRTG run every 5 minutes, so every 5 minutes,