Hi,

I just started to play around with some testing containers. And the
first thing that hits me was using templates when using 'lxc-create.
Here are several templates:
https://github.com/lxc/lxc/tree/master/templates  that can be for
example installed on ubuntu with 'apt-get install lxc-templates'.

And all these templates are basically bash scripts. I thought maybe
using a scripting language like Pyton, Ruby, etc.. and creating them
manually would be better (instead of using those bash scripts). I have
several questions:

1. Why are the templates based on bash script, and not using some internal api?
2. Is the preferred way to create an lxc with templates these bash
scripts?, or it's better when I create them manually (for example with
a custom Python script).
3. Is investing time on creating a template with bash the time worth
when I can use my favorite language to create them?

I'm trying to find some answers about templates and any answer or
experiences on this would be helpful.

Thanks in advance

Regards

-- 
Fatih Arslan

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to