Hi,
I'm trying to set up a host to run containers and not sure how to go about
achieving the equivalent of lxd init from ansible/in an unattended fashion.
I can create the bridge before hand, no prob, and I have zfs with a
tank0/lxd dataset ready for it, which I can set up with lxc storage
In order to be able to set permissions with setfacl, I need to issue the
following command:
zfs set acltype=posixacl
On Tue, Mar 14, 2017 at 12:20 PM, Caleb Everett
wrote:
> That did the trick - thank you
>
> On Tue, Mar 14, 2017 at 11:56 AM, Benoit GEORGELIN -
That did the trick - thank you
On Tue, Mar 14, 2017 at 11:56 AM, Benoit GEORGELIN - Association Web4all <
benoit.george...@web4all.fr> wrote:
> It looks ok.
> You should try to stop the container, umount , mount and check the
> directory.
> I have no ideas if that does not work .
>
>
> > here is
It looks ok.
You should try to stop the container, umount , mount and check the directory.
I have no ideas if that does not work .
> here is the output from: zfs get mountpoint top/lxd/containers/
> NAME PROPERTY VALUE SOURCE
> top/lxd/containers/ mountpoint
>
here is the output from: zfs get mountpoint top/lxd/containers/
NAMEPROPERTYVALUE
SOURCE
top/lxd/containers/ mountpoint
/var/lib/lxd/storage-pools/default/containers/ local
and from: zfs get mounted top/lxd/containers/
NAME
- Mail original -
> De: "Caleb Everett"
> À: "lxc-users"
> Envoyé: Mardi 14 Mars 2017 14:17:52
> Objet: Re: [lxc-users] Trouble locating rootfs
> Thank you - I had done that and it was showing a mount point of:
>
Thank you - I had done that and it was showing a mount point of:
/var/lib/lxd/storage-pools/default/containers/
but there doesn't appear to be anything there.
On Tue, Mar 14, 2017 at 9:51 AM, Benoit GEORGELIN - Association Web4all <
benoit.george...@web4all.fr> wrote:
> - Mail original
thanks, that is exactly what I wanted !
On Tue, Mar 14, 2017 at 1:37 PM, Stéphane Graber
wrote:
> On Tue, Mar 14, 2017 at 11:22:26AM +0100, Benoit Barthelet wrote:
> > ultimately I'd like to do this in python:
> >
> > lxc-attach --clear-env -n lxcws -v TERM=xterm
> >
> > So
I'm trying to set acl permissions on some files in the root file system
from the host, but can't seem to find the root file systems for the
containers.
I'm using zfs for storage. Both /var/lib/lxd/containers/ and
/var/lib/lxd/storage-pools/default/containers/ are empty.
Does anyone have any
I'm trying to use cloud-init to control network configuration of a Lxd
container. Here's the config I use:
#cloud-config.yml
network:
version: 1
config:
- type: physical
name: eth0
subnets:
- type: static
ipv4: true
address: 10.10.10.20
On Tue, Mar 14, 2017 at 11:22:26AM +0100, Benoit Barthelet wrote:
> ultimately I'd like to do this in python:
>
> lxc-attach --clear-env -n lxcws -v TERM=xterm
>
> So far I managed to clear the env variables doing the following, but I
> didn't find a way to pass the TERM env variable.
>
>
Hi folks,
about 4 weeks ago I had sent a (simple) patch to a bug in
config/init/common/lxc-containers.in to the lxc-devel
mailing list. Problem: There was no response at all :-(.
Pretty disappointing. This was not my first patch. In the
past I found both lists lxc-users and lxc-devel quite
ultimately I'd like to do this in python:
lxc-attach --clear-env -n lxcws -v TERM=xterm
So far I managed to clear the env variables doing the following, but I
didn't find a way to pass the TERM env variable.
container.attach_wait(lxc.attach_run_command,
["apt-get",
13 matches
Mail list logo