[lxc-devel] [lxc/lxc] 717f77: network: restore old behavior

Stéphane Graber noreply at github.com
Mon May 18 01:35:50 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 717f77f2f32f7331606f2709dbca74e0d680b5ef
      https://github.com/lxc/lxc/commit/717f77f2f32f7331606f2709dbca74e0d680b5ef
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-15 (Fri, 15 May 2020)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  network: restore old behavior

I introduced a regression: when users didn't specify a specific name via
lxc.net.<idx>.name then the device would retain the random name it received
when we created it. Before we would use the "eth%d" syntax to get the kernel to
assign a fixed name. Restore that behavior.

Closes: #3407.
Fixes: 8bf64b77ac8a ("network: rework network device creation")
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 7c1970fa70442111bc63bc828f10eaf7c134cde0
      https://github.com/lxc/lxc/commit/7c1970fa70442111bc63bc828f10eaf7c134cde0
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2020-05-17 (Sun, 17 May 2020)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  Merge pull request #3415 from brauner/2020-05-15/fixes

network: restore old behavior


Compare: https://github.com/lxc/lxc/compare/c0bdef23ebbb...7c1970fa7044


More information about the lxc-devel mailing list