The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/1579

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
I'm not sure if we want to try and do this retroactively or not.

Closes #1491

Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com>
From 0465a897b993e4555dc1a7dd34661c71bbc78942 Mon Sep 17 00:00:00 2001
From: Tycho Andersen <tycho.ander...@canonical.com>
Date: Tue, 9 Feb 2016 08:40:54 -0700
Subject: [PATCH] add eth0 "name" to the default profile

I'm not sure if we want to try and do this retroactively or not.

Closes #1491

Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com>
---
 lxd/db_profiles.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lxd/db_profiles.go b/lxd/db_profiles.go
index 8855a74..ee0f986 100644
--- a/lxd/db_profiles.go
+++ b/lxd/db_profiles.go
@@ -98,6 +98,7 @@ func dbProfileCreateDefault(db *sql.DB) error {
        // TODO: We should the scan for bridges and use the best available as 
default.
        devices := shared.Devices{
                "eth0": shared.Device{
+                       "name":    "eth0",
                        "type":    "nic",
                        "nictype": "bridged",
                        "parent":  "lxcbr0"}}
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to