-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request juju#5004 from tych0/use-right-bridge-for-lxdif
lxd provider: use right bind address for LXD Prevents: ERROR cannot find network interface "lxcbr0": route ip+net: no such network interface ERROR invalid config: route ip+net: no such network interface when the user doesn't have a lxcbr0 (i.e. doesn't have lxc1 installed). Signed-off-by: Tycho Andersen <[email protected]> (Review request: http://reviews.vapour.ws/r/4446/)
- Loading branch information
Showing
5 changed files
with
34 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright 2016 Canonical Ltd. | ||
// Licensed under the AGPLv3, see LICENCE file for details. | ||
|
||
// +build !go1.3 | ||
|
||
package lxdclient | ||
|
||
func GetDefaultBridgeName() (string, error) { | ||
/* lxd not supported in go1.2 */ | ||
return "lxcbr0", nil | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters