[lxc-devel] [lxc/lxc] 26b797: make 'empty network' the default

GitHub noreply at github.com
Fri Dec 13 19:16:53 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 26b797f3d29a4588c79d6b5ff77898d779b643f0
      https://github.com/lxc/lxc/commit/26b797f3d29a4588c79d6b5ff77898d779b643f0
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2013-12-13 (Fri, 13 Dec 2013)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/conf.h
    M src/lxc/confile.c
    M src/lxc/start.c

  Log Message:
  -----------
  make 'empty network' the default

Currently if no lxc.network.type section is in the container
configuration, the container ends up sharing the host's network.
This is a dangerous default.

Instead, add 'lxc.network.type = none' as a valid type, and make
en empty network the default.

If none as well as another network type are specified, then the
none type will be ignored.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>




More information about the lxc-devel mailing list