[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 " } if [

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

2013-06-02 Thread Michael H. Warfield
On Sun, 2013-06-02 at 11:18 +0530, Shridhar Daithankar wrote: > 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. That's an interesting suggest

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