Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Lxd fixes #5164
+8
−42
Conversation
frobware
reviewed
Apr 14, 2016
| @@ -27,6 +27,8 @@ const ( | ||
| StatusCancelled = "Canceled" | ||
| StatusSuccess = "Success" | ||
| StatusFailure = "Failure" | ||
| + | ||
| + DefaultLXDBridge = "lxdbr0" |
dimitern
reviewed
Apr 14, 2016
| @@ -54,13 +54,9 @@ func (broker *lxdBroker) StartInstance(args environs.StartInstanceParams) (*envi | ||
| return nil, errors.New("starting lxd containers with networks is not supported yet") | ||
| } | ||
| machineId := args.InstanceConfig.MachineId | ||
| - bridgeDevice := broker.agentConfig.Value(agent.LxcBridge) | ||
| + bridgeDevice := broker.agentConfig.Value(agent.LxdBridge) |
dimitern
Apr 14, 2016
Contributor
FWIW, as discussed on IRC - agent.LxcBridge is always empty, as it's not getting populated by providercommon.Bootstrap() used by most providers. So the if below is always going to succeed.
|
This is against the wrong branch. |
tych0
closed this
Apr 14, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tych0 commentedApr 14, 2016
(Review request: http://reviews.vapour.ws/r/4598/)