1. 23 Nov, 2016 2 commits
    • Configure a static MAC address on the LXC bridge · 6d14aa2b
      Cam Cope authored
      Signed-off-by: 's avatarCam Cope <cam@dropbox.com>
    • tools: replace non-standard namespace identifiers · 0d7574d5
      Christian Brauner authored
      The identifiers for namespaces used with lxc-unshare and lxc-attach as given on
      the manpage do not align with the standard identifiers. This affects network,
      mount, and uts namespaces. The standard identifiers are: "mnt", "uts", and
      "net" whereas lxc-unshare and lxc-attach use "MOUNT", "UTSNAME", and "NETWORK".
      I'm weary to hack this into namespace.{c.h} by e.g. adding additional members
      to the ns_info struct or to special case this in lxc_fill_namespace_flags().
      Internally, we should only accept standard identifiers to ensure that we are
      always correctly aligned with the kernel. So let's use some cheap memmove()s to
      replace them by their standard identifiers in lxc-unshare and lxc-attach.
      Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
  2. 22 Nov, 2016 38 commits