On Tue, Mar 14, 2017 at 2:11 AM, Simos Xenitellis
wrote:
> Hi All,
>
> I am writing a post on LXD and
> 1. how to run "lxd init" again (keeping the ZFS allocated space)
> 2. how to run "lxd init" again (clearing up the ZFS allocated space,
> allocate fresh space)
> 3.
Hi
I'm trying to script the creation on various LXC containers. Therefor I
would like to execute a script that finalizes the container. But the
script fails when it tries to interact with systemd, the error message
reads "Failed to connect to bus: No such file or directory"
A minimal
On Tue, Mar 14, 2017 at 8:49 PM, wrote:
> #cloud-config.yml
> network:
> version: 1
> config:
> - type: physical
> name: eth0
> subnets:
> - type: static
> ipv4: true
> address: 10.10.10.20
> netmask:
apologies, this was well described here :
https://lists.linuxcontainers.org/pipermail/lxc-devel/2013-August/004898.html
On Wed, Mar 15, 2017 at 9:15 AM, Benoit Barthelet <
benoit.barthe...@gmail.com> wrote:
> it seems like there's a built-in kwarg, extra_env_vars, that does the -v
> switch job
it seems like there's a built-in kwarg, extra_env_vars, that does the -v
switch job of lxc-attach in fact, I wrapped it in a function here but it
could be written without :
def run_command(container, command, env={}):
env['LANG'] = "C.UTF-8"
env['TERM'] = "xterm"
return