Re: [lxc-users] Recommended techniques for dynamically provisioning containers using lxd

2016-09-08 Thread Eric
On Thu, Sep 8, 2016, 01:05 Zach Lanich wrote: Umberto, I’m not 100% sure of what SaltStack uses under the hood lib wise, but it’s written in Python an already does everything that Lib does. We’re talking more of how the creation of the LXD containers themselves, including setting Mounts, Static IP

Re: [lxc-users] Recommended techniques for dynamically provisioning containers using lxd

2016-09-07 Thread Zach Lanich
Umberto, I’m not 100% sure of what SaltStack uses under the hood lib wise, but it’s written in Python an already does everything that Lib does. We’re talking more of how the creation of the LXD containers themselves, including setting Mounts, Static IP, etc. SaltStack & Chef handle everything el

Re: [lxc-users] Recommended techniques for dynamically provisioning containers using lxd

2016-09-07 Thread Zach Lanich
That makes sense to me. Best Regards, Zach Lanich Owner/CTO weCreate LLC www.WeCreate.com 814.580.6636 > On Aug 23, 2016, at 2:41 PM, Umberto Nicoletti > wrote: > > P. Lowe asked: > > Would people recommend creating a new container from a base image, modifying > rc.local to pull the cookboo

Re: [lxc-users] Recommended techniques for dynamically provisioning containers using lxd

2016-08-23 Thread Zach Lanich
That makes sense to me. Best Regards, Zach Lanich Business Owner, Entrepreneur, Creative Owner/CTO weCreate LLC www.WeCreate.com > On Aug 23, 2016, at 2:41 PM, Umberto Nicoletti > wrote: > > P. Lowe asked: > > Would people recommend creating a new container from a base image, modifying > rc

Re: [lxc-users] Recommended techniques for dynamically provisioning containers using lxd

2016-08-23 Thread Umberto Nicoletti
P. Lowe asked: *Would people recommend creating a new container from a base image, modifying rc.local to pull the cookbook from git and launch it upon initial bootup, after which rc.local is reset to be empty and the server is restarted?* this is exactly a cloud-init use case: cloud-init with a b

Re: [lxc-users] Recommended techniques for dynamically provisioning containers using lxd

2016-08-23 Thread Zach Lanich
Umberto, I’m not 100% sure of what SaltStack uses under the hood lib wise, but it’s written in Python an already does everything that Lib does. We’re talking more of how the creation of the LXD containers themselves, including setting Mounts, Static IP, etc. SaltStack & Chef handle everything el

Re: [lxc-users] Recommended techniques for dynamically provisioning containers using lxd

2016-08-23 Thread Umberto Nicoletti
Why not use https://cloudinit.readthedocs.io/en/latest/ ? On Tuesday, August 23, 2016, Zach Lanich wrote: > I’m not sure of the best way to pass LXD/Container specific parameters is > yet (so anyone, please chime in if you have advice), but I’m using > SaltStack at the moment and doing something

Re: [lxc-users] Recommended techniques for dynamically provisioning containers using lxd

2016-08-23 Thread Zach Lanich
I’m not sure of the best way to pass LXD/Container specific parameters is yet (so anyone, please chime in if you have advice), but I’m using SaltStack at the moment and doing something similar. I’m currently running w/e necessary commands to provision the container itself, setting the container’

Re: [lxc-users] Recommended techniques for dynamically provisioning containers using lxd

2016-08-23 Thread P. Lowe
Hi Zach, No, I still haven't received an answer on this. I'm still trying to determine if there is a best practice for passing provisioning parameters to an lxd container (hostname, block device mounts, secrets, monitoring server name for pub/sub, etc.) I'm currently using a technique wher

Re: [lxc-users] Recommended techniques for dynamically provisioning containers using lxd

2016-08-23 Thread Ingo Baab
sorry list, - this mail was accidentally send by me to the list.. sorry. -Ingo Am 23.08.2016 um 17:56 schrieb Ingo Baab: https://www.youtube.com/watch?v=5PXxINlP_8Y http://mysticlabs.com/consulting/ Am 23.08.2016 um 17:02 schrieb Zach Lanich: P.Lowe, did you ever get an answer on this. I’

Re: [lxc-users] Recommended techniques for dynamically provisioning containers using lxd

2016-08-23 Thread Ingo Baab
https://www.youtube.com/watch?v=5PXxINlP_8Y http://mysticlabs.com/consulting/ Am 23.08.2016 um 17:02 schrieb Zach Lanich: P.Lowe, did you ever get an answer on this. I’m doing something very similar with SaltStack. Best Regards, Zach Lanich /Business Owner, Entrepreneur, Creative/ */Owner/

Re: [lxc-users] Recommended techniques for dynamically provisioning containers using lxd

2016-08-23 Thread Zach Lanich
P.Lowe, did you ever get an answer on this. I’m doing something very similar with SaltStack. Best Regards, Zach Lanich Business Owner, Entrepreneur, Creative Owner/CTO weCreate LLC www.WeCreate.com > On Aug 17, 2016, at 4:48 PM, P. Lowe wrote: > > > Hi, > > I am investigating the use of lxd

[lxc-users] Recommended techniques for dynamically provisioning containers using lxd

2016-08-17 Thread P. Lowe
Hi, I am investigating the use of lxd to dynamically spin up server instances. I'm thinking about using a code-as-infrastructure approach using a chef-solo cookbook that is pulled out of git upon the container's initial boot and does all the provisioning upon initial boot. Would people r