[Lxc-users] lxc-centos/lxc-rhel?

2013-09-26 Thread Shridhar Daithankar
Hi, Recently I had to set up containers on centos and discovered that there is no template for centos/rhel in lxc-source. Googling turned up quite a few templates but I am not sure which one is preferred. I tried one which created the container alright but on starting the container, killed

Re: [Lxc-users] [lxc-devel] Working LXC templates?

2013-09-09 Thread Shridhar Daithankar
On Monday, September 09, 2013 07:28:43 AM Michael H. Warfield wrote: In the git-stage current Fedora template, the entire problem is embodied in the download_fedora function starting around line 201... The gotcha's are three commands around line 272 after we've identified and downloaded the

Re: [Lxc-users] Script to generate systemd unit file for containers

2013-06-02 Thread Shridhar Daithankar
On Sunday, June 02, 2013 09:25:47 AM Michael H. Warfield wrote: Nice suggestion, however. I may play with it on some of my hosts (I run Fedora and I've been working on the Fedora lxc-create template). I don't think I would incorporate it into the container creation templates, however,

[Lxc-users] Script to generate systemd unit file for containers

2013-06-01 Thread Shridhar Daithankar
Hi All, I looked around and didn't find a script that generates systemd unit files for containers. Here is the script. I hope people find it useful and it is included by default in lxc upstream. Thanks - #!/bin/bash function usage() { echo Usage:$0 enable|disable container

Re: [Lxc-users] Regarding creating a LXC container in fedora 17

2013-05-31 Thread Shridhar Daithankar
On Friday, May 31, 2013 10:44:54 AM Fajar A. Nugraha wrote: On Fri, May 31, 2013 at 10:19 AM, Shridhar Daithankar And I finally managed to complete it. Its posted at http://www.ghodechhap.net/blog/?p=4 Thanks for writing the post. One thing though, is the edit /etc/ssh/sshd_config part

Re: [Lxc-users] Regarding creating a LXC container in fedora 17

2013-05-30 Thread Shridhar Daithankar
On Sunday, May 19, 2013 12:02:47 AM Shridhar Daithankar wrote: First of all, let me say thank you for your concise message upthread. It renewed my interest in lxc and I managed to get a working container for the first time. I will post a detailed HOWTO shortly. And I finally managed

Re: [Lxc-users] Regarding creating a LXC container in fedora 17

2013-05-18 Thread Shridhar Daithankar
On Saturday, May 18, 2013 09:58:26 AM Michael H. Warfield wrote: On Sat, 2013-05-18 at 19:02 +0530, Ajith Adapa wrote: Then I have started the container using below command and tried to connect to its shell using lxc-console command but I ended up with below message. Ideally I should see a

Re: [Lxc-users] Regarding creating a LXC container in fedora 17

2013-05-18 Thread Shridhar Daithankar
On Saturday, May 18, 2013 04:06:30 PM Michael H. Warfield wrote: On Sun, 2013-05-19 at 00:02 +0530, Shridhar Daithankar wrote: I ran into the same lxc-console issue and managed to solve it by commenting out ConditionPathExists line in /etc/systemd/system/getty.target.wants/getty\@tty1