Quoting Andrey Repin ([email protected]):
> Greetings, Serge Hallyn!
> 
> > Since the start, lxc container startup hooks have gotten some redundant
> > information as command line arguments, which is also available as 
> > environment variables.
> 
> > Is anyone making use of that? I'm wondering whether any existing
> > installations would have broken scripts if we get rid of those.
> 
> > https://github.com/lxc/lxc/issues/1766 is one sensible request to stsending
> > these args, and I suspect that CNI binaries will also not like them.
> 
> > Removing them is probably 3.0 material, as even if noone replies saying
> > they use them, our community doesn't exactly work like that... but it sure 
> > would be nice to drop them :) 
> 
> Consider me +1 to that.
> If your script needs to know its environment, it should make use of it. Other
> than that, the extra arguments unexpectedly passed to the hook are always a
> source for potential confusion.

Thanks.  "I've never used it" is also useful info :)
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to