which I’m thoroughly ashamed of. What would the equivalent look like if I wanted to do the same with pylxd, containers = pylxd.Client().create()? The statement “The config itself is beyond the scope of this documentation. Please refer to the LXD documentation for more information.” doesn’t really help me understand how to put the config together.
It’s worthwhile noting that *other contains arguments that my python script doesn’t know/care about, and passes through to lxc, e.g. names of profiles I’d like to utilise (we have profiles for networks, disk-types/-sizes, memory-size and CPU count).
please don’t comment about the python-icity of it, I have no involvement in pylxd If you are unhappy about it, I’m sure they are waiting for your patches.
Heh. Yeah … I was hoping on some guidance as to what the bare necessities of this were
I’ll bare that in mind - thanks for the pointer!
GRIN. I’m not a python guru, I’m a sysadmin hoping to make my life (and that of my colleagues) a little easier by a bit of scripting; in questions of style and pythonicity I always rely on our inhouse development team to beat my stuff into shape with comments. Thanks again - will play with this on Monday.